Hello everyone,
I am using my self-made code to run the simulation in annulus geometry. My simulation was core dumping at this time even though my courant number is still less than 1. please help me to come out of this problem.The output of terminal is given below. Code:
Time = 240.999999999998 |
error after adding source term
I have added bottom friction as a source term in shallowwaterfoam.
bottom stress= Sp(2*mag(U), U) After compiling and running i get error message as below. Creating field hTotal for post processing Reading/calculating face flux field phi Creating Coriolis Force PIMPLE: no residual control data found. Calculations will employ 3 corrector loops Starting time loop Time = 0.1 Courant number mean: 0.200006 max: 0.205556 Gravity wave Courant number max: 0.626418 PIMPLE: iteration 1 --> FOAM FATAL ERROR: incompatible fields for operation [hU] + [U] From function checkMethod(const fvMatrix<Type>&, const fvMatrix<Type>&) in file /opt/openfoam211/src/finiteVolume/lnInclude/fvMatrix.C at line 1303. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/home/caelinux/OpenFOAM/caelinux-2.1.1/platforms/linux64GccDPOpt/bin/my_shallowWaterFoam" #3 in "/home/caelinux/OpenFOAM/caelinux-2.1.1/platforms/linux64GccDPOpt/bin/my_shallowWaterFoam" #4 in "/home/caelinux/OpenFOAM/caelinux-2.1.1/platforms/linux64GccDPOpt/bin/my_shallowWaterFoam" #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 in "/home/caelinux/OpenFOAM/caelinux-2.1.1/platforms/linux64GccDPOpt/bin/my_shallowWaterFoam" Aborted (core dumped) caelinux@caelinux:~/OpenFOAM/caelinux-2.1.1/squareBump$ |
Hello Shabad and Kumar,
Have you checked your mesh to ensure its ok to run the simulation - you can use the following to do just that: https://openfoamwiki.net/index.php/CheckMesh it is a print stack error which means maybe one of your fields is been divided by 0 or some other unrecognized character. lastly, i will advice you both follow the method outlined in the first post of the link bellow to effectively report your problems and get better help. it helps the readers understand what exactly you are trying to achieve. i know its a pain in the *** but it would help you allot. https://www.cfd-online.com/Forums/op...-get-help.html |
Hello
Sorry to activate this old post. But I'm having a similar problem. I am running a case with rhoSimpleFoam and SA turbulence model on OF v. 3.1. I've ran the same case on three coarse grids; but whem I'm gonna run the exact same case on a refined mesh it crashes and I get an error similar to the posted above: #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::hePsiThermo<Foam::psiThermo, Foam::pureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam::perfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:? #4 Foam::hePsiThermo<Foam::psiThermo, Foam::pureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam::perfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? I've tried to: -change boundary conditions of pressure and nut, but this has not have any effect on the simulation -change schemes but this doesn't show any effect on the simulation. -I map the last time step field from the coarse mesh simulation to the refined mesh but the error keeps happening. -I've change thermophysicalProperties file, the transport method but then I got a different error of MAX NUMBER OF ITERATIONS EXCEED I'm totally clueless about what is happening. And I do not know how can I solve this. I would be very thankful if anyone can give me a hint. Regards Andrea |
Hello esujby
thanks for reply,, i got my solution after that problem,,,,,, |
Hi
I want to simulate 3d flow over weir but when i try to run it with interFoam i see "Floating point exception (core dumped)" error, what shuold i do to fixed it? |
hmmmmm!
this could be caused by allot of things however, it seems like something is been divided by Zero. if i were you, i will install the debug version. if nothing helpfull comes up, i will get a debug version. have you been able to runt he case before? did you modify something...? |
dear esujby
Quote:
yes i modified it for a 3d simulation with totally different boundary and initial condition,please give me some information about the debug version. |
Hello.
http://www.tfd.chalmers.se/~hani/kur.../debugging.pdf Is this what Your are looking for? I think your error is somewhere above statement of "Floating point exception (core dumped)". Look through Your log file for other errors. |
Quote:
thanks for reply but I cant download the file:( |
Hello Haydii,
to get the best help i recommend the following advice. Quote:
|
Quote:
thanks so much for replay,i'll try to fixed it Quote:
I have same problem ,could you help me about it? |
1 Attachment(s)
Quote:
|
hmm interesting! it could be allot of things but so long as your mesh is spot on, boundaries well defined and case set up well, then i think it could be linked to your tolerances in fvsolutions. so for you based on the attachement, i would say U is not getting solved correctly......tolerances should be smaller than 1e-07 i reckon.
|
error still
5 Attachment(s)
Quote:
|
heyya sorry for the delayed reply, been busy with my PhD thesis. well, from what i see it could be ur relaxation factors 0.2 seems quite low. firstly have you checked ur mesh to make sure its en pointe using "checkMesh" on terminal
|
say thanks
Quote:
|
problem in fluentMeshToFoam mesh conversion
Quote:
i am trying to convert a mesh from fluent to openfoam and i have followed a procedure as shown below :: dos2unix mesh.msh (i am using fluent in windows) fluentMeshToFoam mesh.msh but ige the following error but i get the following error. Code:
can you tell me where might be the problem?? |
Quote:
Just a quick hint before somebody answers your question. It is a good practice to use fluent3DMeshToFoam instead of the version you are using currently. You also might find more information here http://openfoamwiki.net/index.php/Fluent3DMeshToFoam |
FPE error using pimpleFoam
2 Attachment(s)
Hi everyone,
I have a similar problem in OpenFOAM while running a modified pimplefoam with lagrangian particle tracking. The solver is working in PISO mode, and after a few time steps it stops with FPE error. I have time-varying boundary conditions (I specified them with a txt file) for velocity at the inlet and noSlip conditions at walls and zeroGradient at outlet, while for the pressure I imposed a zeroGradient conditions in all the patches and uniform 0 at the outlet. I am also running in parallel on a machine with 16 cores. The error log is the following: Code:
Foam::error::printStack(Foam::Ostream&) at ??:? I attach here two file showing the Co values with respect to the inlet velocity values. |
All times are GMT -4. The time now is 23:30. |