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

OpenFOAM + PVM ?? how to

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 1, 2013, 12:42
Unhappy OpenFOAM + PVM ?? how to
  #1
New Member
 
Y
Join Date: Feb 2013
Location: Dresden =)
Posts: 24
Rep Power: 5
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,635
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer - have a look into this thread: Coupling OpenFOAM with Abaqus
__________________
wyldckat is offline   Reply With Quote

Old   January 30, 2014, 05:43
Default
  #3
New Member
 
Y
Join Date: Feb 2013
Location: Dresden =)
Posts: 24
Rep Power: 5
peteryuan is on a distinguished road
Hi Bruno,
thanks for your reply. I made some progress and continue this topic with following thread:
this->refValue()[faceI] = ??
peter
peteryuan is offline   Reply With Quote

Reply

Tags
couple, parallel, pvm, solver

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 07:18
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 9 June 22, 2011 18:59
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 05:51
Issues with OpenFoam sanjibdsharma OpenFOAM 0 August 14, 2009 08:41
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33


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