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

Post process fsi parallel case with foam-extend4.0

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2018, 05:25
Default Post process fsi parallel case with foam-extend4.0
  #1
New Member
 
Join Date: Mar 2017
Posts: 15
Rep Power: 4
paulbr is on a distinguished road
Hello,

I recently manage to make the fsifoam tutorials work on parallel with foam-extend/4.0 (3Dtube and beamInCrossFlow). When using the command reconstructPar, the fluid results are well assembled according to the time step. Yet, the command doest not seem to take into account the solid results.

I've found that foam-extend3.2 has a function reconstructParFsi. Is there, by any chance, an easy way/a function that can do the trick on foam-extend/4.0 ?

Any help is appreciated,
Regards





PS: I'm a new user of foam-extend and this is my first post on this forum. Please, be indulgent, I might have done some stupid remarks or else..
paulbr is offline   Reply With Quote

Old   January 13, 2019, 20:35
Default
  #2
New Member
 
Stephen Waite
Join Date: May 2013
Location: Auckland, New Zealand
Posts: 29
Rep Power: 8
Stephen Waite is on a distinguished road
with foam-extended 4.0, run

Code:
reconstructPar
This will do the fluid files as you mentioned, then run

Code:
reconstructPar -region solid
to do the solid region. There is probably a way to do it in one line but I haven't figured it out yet.
Stephen Waite is offline   Reply With Quote

Old   January 25, 2019, 10:39
Default
  #3
New Member
 
Join Date: Mar 2017
Posts: 15
Rep Power: 4
paulbr is on a distinguished road
Hi Stephen,


Thanks for you answer. I don't know why exactly but running reconstructPar then reconstructPar -region solid doesn't do the trick for me...

It gives me this error:

Code:
--> FOAM FATAL IO ERROR:
cannot open file

file: /gpfs1/home/2016014/pbrous01/foam/pbrous01-4.0/applications/FluidSolidInteraction/run/fsiFoam/beamInCrossFlow/fluid/454361/fluid/10/solid/meshPhi at line 0.

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

FOAM exiting
This is kind of obvious because there is no "solid" folder in any time repertory given by reconstructPart. I don't know why it gives this error only for the 10th folder though...
Note that 10s is my last time step.

However, I found another way to do this, thanks to Mr. Kristen Rege and this thread:

https://www.cfd-online.com/Forums/op...extend-15.html


This works fine, when it is run in the case repertory:

Code:
#!/bin/bash 
mkdir tmp 
cd fluid 
for proc in processor*; do 
mkdir ../tmp/$proc 
for time in $proc/*; do 
ln -s ../../fluid/$time/solid ../tmp/$time 
done 
done 
ln -s ../solid/system ../tmp/system 
ln -s ../solid/constant ../tmp/constant 
ln -s ../solid/0 ../tmp/0 
cd ../tmp
Regards,
Paul
paulbr is offline   Reply With Quote

Reply

Tags
foam extend 4.0, fsi, post process

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
[Salome] Salome import "Cannot find file "points" in directory..." mismichael OpenFOAM Meshing & Mesh Conversion 5 June 22, 2019 03:56
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 5 July 10, 2017 12:59
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
Incompatible dimensions for operation ruben23 OpenFOAM Running, Solving & CFD 2 June 12, 2015 05:14


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