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

density and volume fraction

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2015, 06:52
Smile density and volume fraction
  #1
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
Hello everyone,

I want to add density that is function of volume fraction to icoFoam

rho_new=(1-VF)*rho_1+VF*rho_2;

How i can do this work?

thank u;

and how to define rho_new in createField.H?

and how to define VF in the createField.H?

Last edited by rapierrz; February 24, 2015 at 01:21.
rapierrz is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 10 August 21, 2023 15:33
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 15:32
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 08:59


All times are GMT -4. The time now is 00:38.