|
[Sponsors] |
potentialFoam giving strange error when initialising simpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 12, 2013, 07:40 |
potentialFoam giving strange error when initialising simpleFoam
|
#1 |
New Member
Anonymous
Join Date: Aug 2013
Location: Europe
Posts: 24
Rep Power: 13 |
Dear OpenFOAM users,
I want to run a 3D simulation of a double element wing with endplates. The mesh is around 5 million cells. However when I run simpleFoam it will immediately diverge. Therefore I want to initialize the simpleFoam run by first running potentialFoam. However, I keep getting a very strange error which does not give me any information: Code:
Calculating potential flow #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::adjustPhi(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&) in "/opt/openfoam221/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #4 in "/opt/openfoam221/platforms/linux64GccDPOpt/bin/potentialFoam" #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 in "/opt/openfoam221/platforms/linux64GccDPOpt/bin/potentialFoam" Floating point exception (core dumped) I hope someone has had this error before and knows what to do. By the way, I am running OpenFoam 2.1.1. Last edited by wyldckat; October 12, 2013 at 15:36. Reason: Added [CODE][/CODE] |
|
October 12, 2013, 15:41 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings maero21,
"sigFpe" means this: http://en.wikipedia.org/wiki/SIGFPE#SIGFPE Quote:
This usually has to do with bad boundary conditions or a damaged mesh. You can use checkMesh to ascertain the quality of the mesh: Code:
checkMesh -allTopology -allGeometry Bruno
__________________
|
||
October 15, 2013, 12:47 |
|
#3 |
New Member
Anonymous
Join Date: Aug 2013
Location: Europe
Posts: 24
Rep Power: 13 |
Thank you! Indeed the mesh failed 1 mesh check. It says that it has found "cells with small determinant". I am guessing that is the reason it divides something by 0 in the solving.
How can I see those small determinant cells? I have generated the mesh in Pointwise, but apparently Pointwise is not good with 3D meshes? That would be strange, right? |
|
October 15, 2013, 17:19 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Code:
foamToVTK -cellSet nameOfCellSetIndicatedByCheckMesh
__________________
|
|
Tags |
initialization, potentialfoam, simplefoam stability |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run potentialFoam and simpleFoam together . | vmsandip2011 | OpenFOAM Running, Solving & CFD | 11 | April 2, 2021 11:56 |
simpleFoam: simple 1-D channel flow, yet very strange convergence behavior | kishpishar | OpenFOAM Running, Solving & CFD | 2 | June 20, 2013 14:55 |
simpleFoam: strange error | samiam1000 | OpenFOAM | 7 | December 11, 2012 04:52 |
simpleFOAM not giving steadystate solution | aerospain | OpenFOAM | 5 | August 6, 2012 08:50 |
BC for simpleFoam from potentialFoam results | Geon-Hong | OpenFOAM Running, Solving & CFD | 0 | April 5, 2011 23:23 |