Mesh Error


#1

I have a mesh error

Meshing failed due to issues with your CAD model. Please investigate your geometry or contact the SimScale support.

https://www.simscale.com/projects/bbartee/stirling_engine/

I am trying to fix the error, so I can run the fluid dynamics simulation.


#2

Hi @bbartee!
I found some regions wich are not together or do not have a definite contact, they are only superimposed, look:

I still found 3 regions with very small faces, look:

Maybe this regions are making mesh impossible.
I suggest you to repair these regions (and others you find like these) and try again :slight_smile:


#3

I have made a new mesh and it worked
But it failed in the compressible simulation

Number of rows: 1500
; Last modified: 2018 February 19 13:29:32 UTC-6
/---------------------------------------------------------------------------
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 2.3.1 |
| \ / A nd | Web: www.OpenFOAM.org |
| \/ M anipulation | |
*---------------------------------------------------------------------------/
Build : 2.3.1-262087cdf8db
Exec : rhoSimpleFoam -parallel
Date : Feb 19 2018
Time : 19:24:46
Host : “”
PID : 154
Case :
nProcs : 4
Slaves :
3
(
“.155”
“.156”
“.157”
)
Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
SIMPLE: convergence criteria
field U tolerance 1e-05
field "p.
" tolerance 1e-05
Reading thermophysical properties
Selecting thermodynamics package
{
type hePsiThermo;
mixture pureMixture;
specie specie;
transport const;
thermo hConst;
equationOfState perfectGas;
energy sensibleEnthalpy;
}
Reading field U
Reading/calculating face flux field phi
Creating turbulence model
Selecting RAS turbulence model laminar
Creating finite volume options from “system/fvOptions”
Starting time loop
–> FOAM Warning :
From function writeOldTimesOnSignalFunctionObject::writeOldTimesOnSignalFunctionObject
in file misc/writeOldTimesOnSignal/writeOldTimesOnSignal.C at line 84
‘writeCurrent’ was set. This may lead to uncaught segmentation faults
–> FOAM Warning :
From function writeOldTimesOnSignalFunctionObject::writeOldTimesOnSignalFunctionObject
[1] Set SIGFPE(8) signal handler
[3] Set SIGFPE(8) signal handler
in file misc/writeOldTimesOnSignal/writeOldTimesOnSignal.C at line 105
sigTERM unset. Setting it to true so that signal is propagated to other processors
If this is undesired explicitly set ‘sigTERM false;’ in “system/controlDict.functions.sigHandler”
[0] Set SIGFPE(8) signal handler
[1] Set SIGSEGV(11) signal handler
To switch this off set ‘sigFPE false;’
[1] Set SIGTERM(15) signal handler
[1] Set SIGQUIT(3) signal handler
[0] Set SIGSEGV(11) signal handler
To switch this off set ‘sigSEGV false;’
To catch Ctrl-C set ‘sigINT true;’
[0] Set SIGTERM(15) signal handler
[0] Set SIGQUIT(3) signal handler
To catch the USR1-signal set ‘sigUSR1 true;’
To catch the USR2-signal set ‘sigUSR2 true;’
4 signal handlers installed
Time = 0.005
[2] Set SIGFPE(8) signal handler
[2] Set SIGSEGV(11) signal handler
[2] Set SIGTERM(15) signal handler
[2] Set SIGQUIT(3) signal handler
[3] Set SIGSEGV(11) signal handler
[3] Set SIGTERM(15) signal handler
[3] Set SIGQUIT(3) signal handler
DILUPBiCG: Solving for Ux, Initial residual = 0.999999994936, Final residual = 0.00223144651416, No Iterations 2
DILUPBiCG: Solving for Uy, Initial residual = 0.999999994669, Final residual = 0.00220092965993, No Iterations 2
DILUPBiCG: Solving for Uz, Initial residual = 0.999999994841, Final residual = 0.00219555743434, No Iterations 2
–> FOAM Warning :
From function gaussConvectionScheme
in file finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H at line 123
Reading “system/fvSchemes.divSchemes.div(phi,K)” at line 16
Unbounded ‘Gauss’ div scheme used in steady-state solver, use ‘bounded Gauss’ to ensure boundedness.
To remove this warning switch off ‘warnUnboundedGauss’ in "
–> FOAM Warning :
From function gaussConvectionScheme
in file finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H at line 123
Reading “system/fvSchemes.divSchemes.div(phi,h)” at line 17
Unbounded ‘Gauss’ div scheme used in steady-state solver, use ‘bounded Gauss’ to ensure boundedness.
To remove this warning switch off ‘warnUnboundedGauss’ in "
DILUPBiCG: Solving for h, Initial residual = 0.529780417476, Final residual = 0.00239058522143, No Iterations 2
[2] Signal 15 encountered
[2] Resetting old handlers (just in case)
[2] Unset SIGFPE(8) signal handler
[2] Unset SIGSEGV(11) signal handler
[2] Unset SIGTERM(15) signal handler
[2] Unset SIGQUIT(3) signal handler
[2] Writing old times:
[2] 1 times to write
[2] Writing current time 0.005
[3] Signal 15 encountered
[3] Resetting old handlers (just in case)
[3] Unset SIGFPE(8) signal handler
[3] Unset SIGSEGV(11) signal handler
[3] Unset SIGTERM(15) signal handler
[3] Unset SIGQUIT(3) signal handler
[3] Writing old times:
[3] 1 times to write
[3] Writing current time 0.005
[1] Signal 15 encountered
[1] Resetting old handlers (just in case)
[1] Unset SIGFPE(8) signal handler
[1] Unset SIGSEGV(11) signal handler
[1] Unset SIGTERM(15) signal handler
[1] Unset SIGQUIT(3) signal handler
[1] Writing old times:
[1] 1 times to write
[1] Writing current time 0.005


mpirun noticed that process rank 0 with PID 154 on node exited on signal 9 (Killed).


#4

Any updates on your simulation @bbartee?

Best,

Jousef


#5

I have ran a new compressible Simulation, but it failed and I couldn’t locate the error in Run 1.
It said connect to the technical support.


#6

Now you have a Setup Error, look:

  1. You had seted an inlet without set the outlet flow
  2. You need to define the magnitude and direction in the inlet region to the flow, look:

Seems you are trying to simulate a compressible flow in an engine, so in this case here is a compressible fluid flow analysis initial guide:
https://www.simscale.com/docs/content/simulation/analysis_types/OF_compressible.html

Let me know if it was helpful :slight_smile:

Cheers,

Vinícius