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

multiphaseEulerFoam: efficient way of implementing fields for all phases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2014, 05:16
Default multiphaseEulerFoam: efficient way of implementing fields for all phases
  #1
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
hi,

currently I have to implement several fields for each phase in multiphaseEulerFoam and generally I see two ways to do this:
Lets say I have to implement four fields for each phase and we have two phases.
1. way: Is it possible to create only four fields in the "createFields.H-section" of the solver and use these four fields seperately for each phase or would I have to create eight fields?
2. way: Or would it even be better to define the fields within phaseModel.H and access the fields of each phase by accessing the fieldmember of each phase?

greetings
maybee
maybee is offline   Reply With Quote

Reply


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
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 12:25
an odd(at least for me!) reconstructPar error on a field immortality OpenFOAM Running, Solving & CFD 3 June 3, 2013 23:36
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 10:15


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