CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

OpenFOAM + PVM ?? how to

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2013, 12:42
Unhappy OpenFOAM + PVM ?? how to
  #1
New Member
 
Y
Join Date: Feb 2013
Location: The Earth
Posts: 25
Rep Power: 13
peteryuan is on a distinguished road
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
peteryuan is offline   Reply With Quote

Old   December 1, 2013, 13:13
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer - have a look into this thread: http://www.cfd-online.com/Forums/ope...am-abaqus.html
__________________
wyldckat is offline   Reply With Quote

Old   January 30, 2014, 05:43
Default
  #3
New Member
 
Y
Join Date: Feb 2013
Location: The Earth
Posts: 25
Rep Power: 13
peteryuan is on a distinguished road
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
peteryuan is offline   Reply With Quote

Reply

Tags
couple, parallel, pvm, solver


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
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 10 May 13, 2018 19:28
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 08:18
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 06:51
Issues with OpenFoam sanjibdsharma OpenFOAM 0 August 14, 2009 09:41
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 10:33


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