CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

sHM - reconstructPar

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

Like Tree1Likes
  • 1 Post By Tobi

Reply
 
LinkBack Thread Tools Display Modes
Old   November 10, 2010, 09:12
Default sHM - reconstructPar
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

i run snappy with 6 cores. After it, i will reconstruct it again. But how?!

Code:
tobi@tobi:~/OpenFOAM/tobi-1.7.x/run/teg$ reconstructPar -constant
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.7.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 1.7.x-2154baf2ac24
Exec   : reconstructPar -constant
Date   : Nov 10 2010
Time   : 14:10:51
Host   : tobi
PID    : 2687
Case   : /home/tobi/OpenFOAM/tobi-1.7.x/run/teg
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0



--> FOAM FATAL IO ERROR: 
cannot open file

file: /home/tobi/OpenFOAM/tobi-1.7.x/run/teg/processor0/0/polyMesh/pointProcAddressing at line 0.

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

FOAM exiting
the file "pointProcAddressing" is missing.
Any ideas.
Tobi
Tobi is offline   Reply With Quote

Old   November 10, 2010, 10:53
Default
  #2
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 6
stevenvanharen is on a distinguished road
Why do you use -constant?

Have you tried it without?
stevenvanharen is offline   Reply With Quote

Old   November 10, 2010, 11:16
Default
  #3
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

yes i ve tried it with all tags.

but i realized, that i need "reconstructParMesh" instead of reconstructPar after mesh generation. I am so stupid

tobi
Tobi is offline   Reply With Quote

Old   January 28, 2011, 09:43
Default
  #4
Senior Member
 
Sandy Lee
Join Date: Mar 2009
Posts: 207
Rep Power: 9
sandy is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Hi,

yes i ve tried it with all tags.

but i realized, that i need "reconstructParMesh" instead of reconstructPar after mesh generation. I am so stupid

tobi
Hi Tobi, what is the difference between reconstrucParMesh and reconstructPar?
sandy is offline   Reply With Quote

Old   January 28, 2011, 10:04
Default
  #5
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by sandy View Post
Hi Tobi, what is the difference between reconstrucParMesh and reconstructPar?

hi Sandy,...

if you split your mesh to solve sHM with more cores you have to reconstruct your mesh with the command

Code:
reconstructMeshPar
if you run your equation with more cores you have to use after finishing

Code:
reconstructPar
Couse you have to reconstruct the mesh and all other files like (p / U / T / etc.)

Hope it 's helpful.

-> reconstructPar for solver
-> reconstructParMesh for sHM

I hope its correct - but i am certain sure about it.

Tobi
Guimloute likes this.
Tobi is offline   Reply With Quote

Old   January 28, 2011, 22:57
Default
  #6
Senior Member
 
Sandy Lee
Join Date: Mar 2009
Posts: 207
Rep Power: 9
sandy is on a distinguished road
Hi Tobi, thank you for your reply. However, now I use lines step by step as follows:

1. blockMesh
2. snappyHexMesh
3. decomposePar
4. mpirun -np 8 interFoam -parallel
.....

Could you tell me which one I should use, reconstructPar or reconstructParMesh? Waiting for your help again.

Sandy
sandy is offline   Reply With Quote

Old   January 29, 2011, 08:42
Default
  #7
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by sandy View Post
Hi Tobi, thank you for your reply. However, now I use lines step by step as follows:

1. blockMesh
2. snappyHexMesh
3. decomposePar
4. mpirun -np 8 interFoam -parallel
.....

Could you tell me which one I should use, reconstructPar or reconstructParMesh? Waiting for your help again.

Sandy
hi

5. reconstructPar

I added a bash file you can execute it with ./solve and change it - you should use your solver

http://www.file-upload.net/download-...solve.zip.html

Tobi
Tobi 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
reconstructPar --> fileName::stripInvalid() called for invalid fileName commandtouse adona058 OpenFOAM Bugs 18 June 12, 2015 18:47
sHM and cyclicGgi FabOr OpenFOAM 27 February 8, 2012 15:58
Problem with reconstructPar Jochem OpenFOAM Post-Processing 3 March 24, 2011 13:44
sHM with cyclic patch on stl geometry johannesk OpenFOAM Native Meshers: snappyHexMesh and Others 2 August 21, 2009 09:08
Problem with reconstructPar fabianpk OpenFOAM 5 August 14, 2007 09:17


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