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

Can run setFields in parallel while decomposed?

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

Like Tree1Likes
  • 1 Post By totalart

Reply
 
LinkBack Thread Tools Display Modes
Old   December 9, 2013, 05:34
Default Can run setFields in parallel while decomposed?
  #1
New Member
 
Youngkook Kim
Join Date: Jul 2013
Location: Singapore and South Korea
Posts: 20
Rep Power: 5
totalart is on a distinguished road
Hi all,

I am running interfoam with quite a heavy mesh on 24 CPU. And I need to test with several meshing case. For this, what I am doing now is:

1. blockMesh
2. decomposePar(meshes are decomposed)
3. mpirun -np 24 snappyhexmesh.exe -overwrite -parallel
4. reconstructparMesh
5. (prepare fields including alpha1. in 0 directory)
6. setfields
7. decomposePar
8. run the solver in parallel

Only if I can run setfields while decomposed, I can save more time. However, error occurs at step 5 with followings:

1. blockMesh
2. (prepare fields including alpha1. in 0 directory.)
3. decomposePar (mesh and fields in 0 are decomposed)
4. mpirun -np 24 snappyhexmesh.exe -overwrite -parallel
5. mpirun -np 24 setfields.exe -parallel -> ERROR
6. run the solver

Do you know what is wrong for setfields in parallel??
y_jiang likes this.
totalart is offline   Reply With Quote

Old   December 9, 2013, 23:39
Default
  #2
New Member
 
Youngkook Kim
Join Date: Jul 2013
Location: Singapore and South Korea
Posts: 20
Rep Power: 5
totalart is on a distinguished road
I found the patch created by SHM is not shown in Paraview... It's because the patch is not created when I decompose(this is before running SHM). I added the patch with empty in 'boundary' before decomposing, and it's settled. But error still persists with setfields with parallel. The error message is:

keyword procBoundary16to12 is undefined in dictionary "C:\~~~~~\alpha1::boundaryField"

Boundaryfield for the SHM patch is defined in 0 folder. But I cannot read alpha1 in the decomposed 0, probably it's in binary.
I hope someone can give an advice.

Last edited by totalart; December 10, 2013 at 01:00.
totalart is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamicMesh parallel run popcorn OpenFOAM Running, Solving & CFD 0 October 2, 2012 12:34
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51
Parallel run in fluent for multiphase flow apurv FLUENT 2 August 3, 2011 19:44
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 14:43
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 07:33


All times are GMT -4. The time now is 11:41.