|
[Sponsors] |
how to define density in twoPhasseEulerFoam in version3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2016, 05:09 |
how to define density in twoPhasseEulerFoam in version3.0
|
#1 |
Senior Member
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11 |
hi friends!
i recently started to use op 3.0 after op 2.2.1 . i want to use twoPhaseEulerfoam in version 3.0 but as i see there are some changes in this solver and made confused! my first question is about how to find the description about this solver and it's tutorials in this version ? and my second question about phase properties directory, why there is no place to define "density" here ?! so i got confused about twoPhaseEulerFoam in OP3.0 !! any help would be appreciated |
|
May 10, 2016, 07:39 |
|
#2 |
Member
Mattia de\' Michieli Vitturi
Join Date: Mar 2009
Posts: 50
Rep Power: 17 |
The density is defined by the equations of state of the phases, in the thermophysicalProperties.*** files.
For example, in the laminar/bubbleColumn/constant folder you can find the file thermophysicalProperties.air, specifying the properties of the phase "air". Code:
thermoType { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } mixture { specie { nMoles 1; molWeight 28.9; } Ciao M. |
|
May 10, 2016, 08:55 |
|
#3 |
Senior Member
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11 |
hi Mattia!
thank u very much, i want to model consist of two liquid phase , so is that "mu" the only place that i can make difference between primary phase and secondary phase ? because when both of phases are liquid ( like water and brine) so we have to use "perfectfluid" for eqn of state ? i mean that is R and rho0 are respectively constant in 3000 and 1027 when we use "perfectfluid" ? so what is the main difference between two phases in this case that we have two fluids with only different rho(density) ? ( water=998.2 and brine 1017.9) thank u |
|
May 11, 2016, 03:00 |
|
#4 |
Member
Mattia de\' Michieli Vitturi
Join Date: Mar 2009
Posts: 50
Rep Power: 17 |
You don't have to use the values 3000 and 1027 for perfectFluid, but you can change them. When you use the equation of state for perfect fluid rho=rho0+psi*P, where the compressibillity psi is given by psi=1/(RT). So probably you want to use the values you've indicated (998.2 and 1017.9) for rho0 in the two files with the properties of water and brine.
M. |
|
May 11, 2016, 06:22 |
|
#5 |
Senior Member
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11 |
thank u very much dear Mattia!
is there any way to find a kind of description about twoPhaseEulerFoam in version 3.0.1? because I have many question about it ! like alphat directory (not alpha) and... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Current density visualisation (PEM fuel cell add-on module) | pchoopanya | FLUENT | 10 | August 21, 2023 14:33 |
Implement simple barotropic relation - derive density field from pressure field | GJM1991 | OpenFOAM Programming & Development | 6 | May 8, 2016 15:43 |
UDF error for Heat Generation | mame | Fluent UDF and Scheme Programming | 4 | March 3, 2016 04:22 |
A problem about density in liquid air definition | alloveyou | CFX | 2 | June 14, 2012 14:20 |
UDF problem | libia87 | Fluent UDF and Scheme Programming | 1 | May 4, 2012 21:49 |