CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   pressure gradient field (https://www.cfd-online.com/Forums/openfoam-programming-development/112842-pressure-gradient-field.html)

albertofast February 6, 2013 09:02

pressure gradient field
 
Dear users,
I would like to modify the pimpleFoam solver to write the pressure gradient field. I'm not a good C++ programmer so I wonder if you could get me some suggestions.
Thank you very much:)

Cyp February 6, 2013 12:10

Quote:

Originally Posted by albertofast (Post 406315)
Dear users,
I would like to modify the pimpleFoam solver to write the pressure gradient field. I'm not a good C++ programmer so I wonder if you could get me some suggestions.
Thank you very much:)


Hi alberto,

Have a look at the write.H file in laplacianFoam solver. In this file, the temperature gradient is written as output files.

Regards,
Cyp

albertofast February 6, 2013 12:50

Quote:

Originally Posted by Cyp (Post 406366)
Hi alberto,

Have a look at the write.H file in laplacianFoam solver. In this file, the temperature gradient is written as output files.

Regards,
Cyp

Hi Cyp,
Thank you very much for your reply! problem quickly solved :)
Regards,
Albertofast


All times are GMT -4. The time now is 17:39.