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

mapFields producing "nan" entry

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2012, 10:36
Default mapFields producing "nan" entry
  #1
New Member
 
Tyler Landfried
Join Date: May 2011
Location: Pittsburgh
Posts: 7
Rep Power: 14
tlandfried is on a distinguished road
Morning all,

I've run into a requiring problem that I can't seem to fix. So, I thought I'd bring the problem here and see if anyone has some familiarity with it or any insight. Additionally, I've posted the problem on collab.pitt.edu.

The problem I'm having involves using the mapFields utility on a supercomputing cluster, SAM at Pitt. When I run locally, the utility has no problems. However, when I run on the cluster, the utility likes to create "nan" entries in the pressure fields. The problem then being, when I run my solver, simpleFoam in my case, errors occur when the first "nan" entry is encountered. I get the error:

Code:
wrong token type - expected Scalar, found on line 3076 the word 'nan'

file: /home/mkimber/dtl5/confinementStudies/Re_32/R08_A2000_180/1500/p at line 3076.

    From function operator>>(Istream&, Scalar&)
    in file lnInclude/Scalar.C at line 91.
Its worth noting that I've only seen this error when running large meshes, approximately 1 million cells. Additionally, this is a low speed, laminar simulation, so the velocity in some locations is very small, approximately 10^(-6).

From what I've been able to gather, the reason I only have this problem on the cluster could be due to a discrepancy between the $FOAM_SETNAN entry I have locally and on the cluster, however, when I checked the setting on both, they were the same. As of this point, I am unsure what exactly I should do. I have previously just run mapFields locally and then uploaded the newly initialized time to SAM. However, this isn't a convenient way to do it, and will be extremely time consuming in the future when I have larger, more intensive simulations.


Any help or suggestions?

-Tyler
tlandfried is offline   Reply With Quote

Old   July 27, 2012, 11:37
Default
  #2
New Member
 
Tyler Landfried
Join Date: May 2011
Location: Pittsburgh
Posts: 7
Rep Power: 14
tlandfried is on a distinguished road
Hey, from collab.sam.pitt.edu. It was suggested, that since I'm using simple, I should increase the number of nonOrthoganolCorrectors to say 3? Previously I had it at 1, any thoughts on this?

-Tyler

EDIT: Yea, this didn't fix my problem. Since its occurring during the mapFields utility, it makes sense it doesn't.

Last edited by tlandfried; July 27, 2012 at 13:05. Reason: Update
tlandfried is offline   Reply With Quote

Old   August 7, 2012, 08:40
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Tyler,

You could have left a breadcrumb in this thread to the new thread: http://www.cfd-online.com/Forums/ope...nan-entry.html

I'll reply to you in the other thread in a few minutes...

Best regards,
Bruno
__________________
wyldckat 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
Issues with mapFields BlackBoatNavArch OpenFOAM Pre-Processing 38 May 28, 2021 17:29
Running mapFields with Parallel Source and Parallel Target RDanks OpenFOAM Pre-Processing 4 August 2, 2016 06:24
implementation of mapFields into parallel transient case simpomann OpenFOAM Pre-Processing 4 August 2, 2016 05:41
transientSimpleDyMFoam, mapFields and decomposePar pad OpenFOAM Running, Solving & CFD 0 December 3, 2010 06:22
mapFields ignores sourceTime for -parallel source andersking OpenFOAM Bugs 2 September 2, 2009 11:38


All times are GMT -4. The time now is 22:55.