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

isothermal buoyant mixing with a modified bouyantPimpleFoam-solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2016, 12:49
Default isothermal buoyant mixing with a modified bouyantPimpleFoam-solver
  #1
New Member
 
Join Date: Feb 2016
Posts: 2
Rep Power: 0
shurikStP85 is on a distinguished road
Hello everyone,
I'm trying to calculate the mixing between NaCl-solution and pure water. The concentration of NaCl should be modeled by a modified bouyantPimpleFoam-Solver. The fluid properties vary strongly with the concentration comparable to the temperature dependent fluid properties of water. The idea is to substitute the temperature dependent properties (polynoms) with concentration dependent properties (polynoms). But for the concentration transport the enthalpy equation should be used.

Modified enthalpy equation.
fvm::ddt(rho,he)+fvm::div(phi,he)-fvm::laplacian(turbulence->alphaEff(),he)==fvOptions(rho,he)

Thermal properties: cp(T),rho(T),k(T),mu(T) (as polynoms).

If I interpreted it right, alphaEff() = k(T)/c_p(T)+mu_t/Pr_t and h=cp*(T-Tref) when (cp=1).
Than from a mathematical point of view k(T)/c_p(T) can be substituted by rho(T)*D (D=constant diffusion coefficient).

The fluid properties are fitted over the mass weight in %+Tref -> Coefficients.

So the thermophysical-file looks like
Thermotype
{ type heRhoThermo; mixture pureMixture; transport polynomial; thermo hPolynomial; equationOfState icoPolynomial, specie specie; energy sensibleEnthalpy;}
Dpdt off;
Mixture {
{ specie {nMoles 1; molWeight 1}
EquationOfState {rhoCoeffs<8> (1267 -8.742 0.02631 0 0 0 0 0);}
Thermodynamics {Hf=0; Sf=0; CpCoeffs<8> (1 0 0 0 0 0 0 0);}
Transport {muCoeffs<8> (0.09565 -0.0006425 1.09e-06 0 0 0 0 0); kappaCoeffs<8> (1267e-9 -8.742e-9 0.02631e-9 0 0 0 0 0);
So the modified solver is running and the fluid properties look plausible but I’m not sure about the turbulence.

I would be grateful to read some opinions.
Thanks
shurikStP85 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
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32
CFX 5.5 Roued CFX 1 October 2, 2001 17:49
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 17:25


All times are GMT -4. The time now is 05:42.