|
[Sponsors] |
how to code suspended sediment transport equation in interFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 12, 2021, 16:15 |
how to code suspended sediment transport equation in interFoam
|
#1 |
New Member
Sourav Hossain
Join Date: Mar 2019
Posts: 25
Rep Power: 7 |
I want to code this equation in interFoam solver.
where c is the sediment volumetric concentration, is sediment settling velocity defined by is gravitional accleration, is kinematic viscosity and is particle diameter and is relative density of sediment. is sediment diffusivity and is eddy viscosity, is turbulent prandtl schimdt number. Any idea how I can code this interFoam? I was trying to include a cEqn.H file in interFoam solver as volScalarField epsilonEff ( "epsilonEff", 4*turbulence->nut()/Prt ); fvScalarMatrix cEqn ( fvm::ddt(c) + fvm::div(phi, c) - fvm::laplacian(epsilonEff, c) ); cEqn.relax(); cEqn.solve(); } But I don't know how to modify phi and include here as a closuse. please help me. Thanks in advance. Last edited by sourav8016; June 12, 2021 at 16:34. Reason: latex error |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swakExpression not writing to log | alexfells | OpenFOAM Community Contributions | 3 | March 16, 2020 19:19 |
Transport Equation in InterFoam using MULES | TCS | OpenFOAM Programming & Development | 5 | March 20, 2018 12:57 |
How can I transfer the code of SprayFoam to mathematical equation | sy2516 | OpenFOAM Programming & Development | 3 | March 7, 2018 05:45 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Free Surface Flow with Sediment Transport | M. Riffai | CFX | 3 | September 5, 2013 10:45 |