CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Simplefoam phi failure and large mesh's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2013, 21:14
Default Simplefoam phi failure and large mesh's
  #1
New Member
 
Jonathan
Join Date: Mar 2012
Location: New Zealand
Posts: 2
Rep Power: 0
drthompson is on a distinguished road
Hello All
First thread on the forum!
I am attempting to model a large (68000m2) lagoon in simplefoam with a single inlet and outlet. The purpose of this is to use the steady state velocity as a start point for a tracer solver to determine the residence time in the lagoon. I've sucessfully used simplefoam and the tracer solver before on smaller situations but I'm getting stuck early on with this one.

After sucessfully meshing the lagoon, I run the simplefoam solver and immediatly get a floating point error at time 0 for phi.


Quote:
Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 Foam::surfaceInterpolation::makeWeights() const in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::surfaceInterpolation::weights() const in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#5
in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/simpleFoam"
#6 __libc_start_main in "/lib/libc.so.6"
#7
in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/simpleFoam"
Floating point exception
I suspect the problem is something fundermental but I am not sure whether it is size related or something else. I'm in the process of attempting variations on the schemes and relaxation factors etc but have had no luck so far. If anyone has a guess as to why this is occuring, or suggestions to get around, any help would be much appreciated.

Last edited by drthompson; June 16, 2013 at 22:51.
drthompson is offline   Reply With Quote

Old   June 17, 2013, 00:23
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
could you post your fvSchemes and your mesh here
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   June 23, 2013, 17:56
Default
  #3
New Member
 
Jonathan
Join Date: Mar 2012
Location: New Zealand
Posts: 2
Rep Power: 0
drthompson is on a distinguished road
Hello Nima
Thanks for the offer - I managed to solve it.

By rebuilding the entire model from scratch the problem went away. I think what caused this error was something in the mesh to do with local coordinates - I had for the first time tried to alter them, then decided not to (in salome). Not touching them at all as I did the second build avoided whatever happened!
drthompson is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:15.