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

run form mapField

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2009, 10:40
Default run form mapField
  #1
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 16
andrea.pasquali is on a distinguished road
Hi everybody,

I got a solution with a coarse mesh. I mapped it on a finest mesh with mapFields command, and it's ok.
Then I want to run with the finest mesh from the mapped solution, but at the beginning I obtain "floating point exception" and the run dies.
What's my problem?

Thanks for any reply,

Andrea
andrea.pasquali is offline   Reply With Quote

Old   October 1, 2009, 18:19
Default
  #2
Senior Member
 
N/A
Join Date: Mar 2009
Posts: 189
Rep Power: 17
harishg is on a distinguished road
Floating point exception usually points to a divide by zero. Do you change the BC between the coarse and fine mesh? Did it show the exception on the first timestep? What model and BC are you exactly using to study your problem?
harishg is offline   Reply With Quote

Old   October 5, 2009, 06:41
Default
  #3
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 16
andrea.pasquali is on a distinguished road
Hi Harishg,
Thank you. At the beginning, when I start the run whit fine mesh, the solver read in file T a "nan" term. I changed it with zero value and maybe it's this that give me the problem. I'm using the same condition between coarse and fine mesh.
What means "nan" value? Can I try to change it with 0.000001 (small but no zero value)?

Thanks

Andrea
andrea.pasquali is offline   Reply With Quote

Old   October 5, 2009, 07:35
Default
  #4
Member
 
lord_kossity's Avatar
 
Andreas Dietz
Join Date: Mar 2009
Location: Munich
Posts: 79
Rep Power: 17
lord_kossity is on a distinguished road
Hi Andrea,

nan means "not a number". This term usually stands for infinity. So replacing it with a small number won't help you out!

Regards,
Andreas
lord_kossity is offline   Reply With Quote

Old   October 5, 2009, 09:59
Default
  #5
Senior Member
 
N/A
Join Date: Mar 2009
Posts: 189
Rep Power: 17
harishg is on a distinguished road
My guess is that the coarse mesh run itself did not converge and produced Nan term. Hence the mapping transfers it to the fine mesh too. Check the files in the coarse mesh for the Nan term.
harishg is offline   Reply With Quote

Old   October 5, 2009, 10:47
Default
  #6
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 16
andrea.pasquali is on a distinguished road
Thank Andreas and Harishg,
I saw my mapped files and I got "nan" value in epsilon, k, rho and T. I got also many "0" values; like this:

0
0
0
0
0
0
0
0
2.07259e-315
2.122e-314
99967.2
99967.2
6.2051e-315
nan
99934.6
6.2051e-315
0

In coarse mesh run I don't got "nan" or "0" value. It's a good solution and I reached small residuals. But I didn't say you that I obtained this solution with Openfoam1.5.x; instead I mapped it with last Openfoam1.6.x.
Can this be a problem, mapping OF15x solution on OF16x?

Thanks

Andrea
andrea.pasquali is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
Using results form previous run as inlet condition lauren CFX 3 June 9, 2008 13:32
Windows 64-bit, Distributed Parallel Run Issues... Erich CFX 3 March 28, 2006 16:36
Using results form previous run as inlet condition M CFX 2 January 16, 2006 22:43
Cycling a transient run Chetan Mistry Phoenics 0 March 3, 2004 09:50


All times are GMT -4. The time now is 20:18.