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

Problems with reconstructPar after run interDyMFoam

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

Like Tree3Likes
  • 1 Post By LarsPT
  • 2 Post By pille

Reply
 
LinkBack Thread Tools Display Modes
Old   December 9, 2009, 06:22
Default Problems with reconstructPar after run interDyMFoam
  #1
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 7
FG_HSRM is on a distinguished road
Hello all,
that's maybe a kind of newbie problem, but I found no way to handle it.

I'm working on a interDyMFoam case. The case is running fine.

The Problem is only the reconstruction of the case.
I used: decomposePar -> "run the case" -> reconstructPar
I tried metis/ simpel / hierarchical method and there is no difference.

Thanks in advance!

The error message is:

Create time

Create mesh for time = 0

Time = 0.02



cannot open file

file: /home/geiger/OpenFOAM/geiger-1.6/run/eigen/dynmesh/tes/processor0/0.02/polyMesh/pointProcAddressing at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 62.

FOAM exiting
FG_HSRM is offline   Reply With Quote

Old   December 9, 2009, 07:49
Default
  #2
Member
 
Lars Kiewidt
Join Date: Sep 2009
Location: Germany
Posts: 54
Rep Power: 7
LarsPT is on a distinguished road
Hi,

try these commands

decomposePar
interDyMFoam
reconstructParMesh
reconstructPar

Dynamic meshes always save the current mesh in each time stept just because it may change by time. So, reconstructParMesh is necessary to reconstruct the the mesh in each region, reconstructPar is necessary to to put all the regions together to one mesh.

Hope this helps!

Best regards!

Lars
ebrahim27 likes this.
LarsPT is offline   Reply With Quote

Old   December 9, 2009, 12:33
Default
  #3
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 7
FG_HSRM is on a distinguished road
Hi Lars,
thanks for your quick reply and your help.

There is only a small problem left.
The reconstructParMesh command only run for one timestep.
Is there maybe more easy to handle way?

Kind regards!
FG_HSRM is offline   Reply With Quote

Old   December 13, 2011, 12:16
Default
  #4
New Member
 
Join Date: Dec 2010
Posts: 2
Rep Power: 0
pille is on a distinguished road
hallo friedrich,

its a bit too late now, but for others it might be helpful.
in that case i make loop in the shell that looks like this.
(X=number of processors -1; TIME=wanted time folder)
if you want to reconstruct a lot of time folders, you can generate a second loop for TIME inside the first.

Code:
for i in `seq 0 X`; do
cp processor${i}/0/polyMesh/pointProcAddressing.gz processor${i}/TIME/polyMesh/
cp processor${i}/0/polyMesh/faceProcAddressing.gz processor${i}/TIME/polyMesh/
cp processor${i}/0/polyMesh/cellProcAddressing.gz processor${i}/TIME/polyMesh/
cp processor${i}/0/polyMesh/boundaryProcAddressing.gz processor${i}/TIME/polyMesh/
done
FG_HSRM and ebrahim27 like this.
pille 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
Problems with reconstructParMesh and reconstructPar in 15 eberberovic OpenFOAM Post-Processing 27 August 31, 2013 12:55
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Running interDyMFoam in parallel sega OpenFOAM Running, Solving & CFD 1 March 12, 2009 06:54
Problems with channelOodles tutorial alberto OpenFOAM Running, Solving & CFD 0 June 5, 2007 09:08
Problems on Batch run Cindy Jones FLUENT 2 November 24, 2002 01:45


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