CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   pressure distribution with pyFoam (http://www.cfd-online.com/Forums/openfoam/75589-pressure-distribution-pyfoam.html)

gimli79 April 29, 2010 10:04

pressure distribution with pyFoam
 
Hi,
I am working on a FSI Project for my university. I should couple an CFD Comp. with a CSD Comp. For CFD I use OpenFoam 1.6. My problem now is how I can get the pressure distribution for the further coupling. Till now I searched for some pyFoam skripts, which can do that for me, but still without any result. Is there a script available for that case? This distribution should be used later as a load for my fem comp.
So please , could somebody help me? How I can get the pressure distri. of the walls as an ascii file?


Thanks a lot

Andy

gschaider May 3, 2010 04:31

Quote:

Originally Posted by gimli79 (Post 256862)
Hi,
I am working on a FSI Project for my university. I should couple an CFD Comp. with a CSD Comp. For CFD I use OpenFoam 1.6. My problem now is how I can get the pressure distribution for the further coupling. Till now I searched for some pyFoam skripts, which can do that for me, but still without any result. Is there a script available for that case? This distribution should be used later as a load for my fem comp.
So please , could somebody help me? How I can get the pressure distri. of the walls as an ascii file?


Thanks a lot

Andy

PyFoam can only help you with the automatization of this task, but not with the task itself. The utilitiy "sample" offers the possibility to write out data from a patch in a number of formats. Have a look at the sampleDict that is found with these sources to find out which formats these are

Bernhard

gimli79 May 4, 2010 05:28

Thanks Berhard.
I will try that.


All times are GMT -4. The time now is 14:50.