|
[Sponsors] |
how to code suspended sediment transport equation in interFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 12, 2021, 15: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 15:34. Reason: latex error |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swakExpression not writing to log | alexfells | OpenFOAM Community Contributions | 3 | March 16, 2020 18:19 |
Transport Equation in InterFoam using MULES | TCS | OpenFOAM Programming & Development | 5 | March 20, 2018 11:57 |
How can I transfer the code of SprayFoam to mathematical equation | sy2516 | OpenFOAM Programming & Development | 3 | March 7, 2018 04:45 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 06:27 |
Free Surface Flow with Sediment Transport | M. Riffai | CFX | 3 | September 5, 2013 09:45 |