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/)
-   -   OpenFOAM + PVM ?? how to (https://www.cfd-online.com/Forums/openfoam-programming-development/127010-openfoam-pvm-how.html)

peteryuan December 1, 2013 11:42

OpenFOAM + PVM ?? how to
 
Hello guys,

I want to "connect" or "couple" openfoam with another simulation program for building energy system using pvm. The idea is to use the building simulation program as a master and openfoam solver as a slave to calculate the fluid properties for the master.
For a simple test I found a couple of good functioning master and slave pvm codes from the examples. Then I divided the slave code into two part and copied them into the icoFoam.C - one half in the beginning and the other half at the end. The foam solver code unchanged in the middle.
After wmake, the new solver works just fine for a normal openfoam case, without being called by the master. The problem is, when being called by the master, the solver code in the middle somehow is not working. Only the first half of the pvm slave code is working.

Any ideas?
Thanks very much for any help.
Peter

wyldckat December 1, 2013 12:13

Quick answer - have a look into this thread: http://www.cfd-online.com/Forums/ope...am-abaqus.html

peteryuan January 30, 2014 04:43

Hi Bruno,
thanks for your reply. I made some progress and continue this topic with following thread:
http://www.cfd-online.com/Forums/ope...lue-facei.html
peter


All times are GMT -4. The time now is 16:07.