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

Difference in multiphaseMixture and phaseChangeMixture

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2014, 07:57
Default Difference in multiphaseMixture and phaseChangeMixture
  #1
New Member
 
Josh Dyson
Join Date: Mar 2011
Posts: 10
Rep Power: 6
jd210 is on a distinguished road
Hello Foamers,

I'm encountering a bit of a problem with my compressible, multiphase, phase change code.

I'm using phaseChangeTwoPhaseMixture to simulate a phase change, this then saves it's volume fraction to it's variables sort of as normal. I then use multiphaseMixture to calculate position of all spices. Both work separately exactly as I want them to however when I put them together multiphaseMixture does not seem to recognise what has been saved by the phase change model or vice versa depending on how my create fields is written.

I think this is because the IOobjects save in different registries, phaseChange in mesh and multiphaseMixture in U.mesh()

What i'm wondering is is it possible to make them work together? (guessing it must be) and if so does anyone have any suggestions of how to do this? is it better to get phasechange to save in the U.mesh() registry or multiphaseMixture in the mesh registry? Any suggestions on how this would be done would also be fantastic.

Thank you in advance.
jd210 is offline   Reply With Quote

Old   March 24, 2014, 05:46
Default
  #2
New Member
 
Josh Dyson
Join Date: Mar 2011
Posts: 10
Rep Power: 6
jd210 is on a distinguished road
I think I've decided the best way to do this is to modify twoPhaseMixture to register in the U.mesh registry, however this is proving tricky, has anyone managed to do it before and can make some suggestions?

Thanks
jd210 is offline   Reply With Quote

Reply

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



All times are GMT -4. The time now is 14:49.