|
[Sponsors] |
add a phase diffusion term in k-epsilon turbulence model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 12, 2020, 12:23 |
add a phase diffusion term in k-epsilon turbulence model
|
#1 |
Senior Member
|
Hi guys,
I would like to add a diffusion term into the k-epsilon equations so I wrote the following code: - fvm::div(fvc::snGrad(alpha)*mesh.magSf()*fvc::inte rpolate(nut*rho), k_) tmp<fvScalarMatrix> epsEqn ( fvm::ddt(alpha, rho, epsilon_) + fvm::div(alphaRhoPhi, epsilon_) - fvm::laplacian(alpha*rho*DepsilonEff(), epsilon_) == C1_*alpha()*rho()*G*epsilon_()/k_() - fvm::SuSp(((2.0/3.0)*C1_ - C3_)*alpha()*rho()*divU, epsilon_) - fvm::Sp(C2_*alpha()*rho()*epsilon_()/k_(), epsilon_) - fvm::div(fvc::snGrad(alpha)*mesh.magSf()*fvc::inte rpolate(nut*rho), epsilon_) However it cannot be compiled. Please help me to check where I need to modified. Thanks a lot! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
k and Epsilon is not converging in kEpsilon Turbulence model | Raza Javed | OpenFOAM Running, Solving & CFD | 2 | March 2, 2022 22:34 |
Define different turbulence model for each phase (multiphaseEulerFoam) | remidemol | OpenFOAM Running, Solving & CFD | 2 | February 27, 2018 18:57 |
Error in Two phase (condensation) modeling | adilsyyed | CFX | 15 | June 24, 2015 20:42 |
Adding an energy source term to a phase with reactions | lxlxlxt | Fluent Multiphase | 0 | February 10, 2014 21:42 |
Discussion: Reason of Turbulence!! | Wen Long | Main CFD Forum | 3 | May 15, 2009 10:52 |