|
[Sponsors] |
March 5, 2020, 12:09 |
Structure of momentum equation in mhdFoam
|
#1 |
New Member
Edmund Teller
Join Date: Feb 2020
Posts: 12
Rep Power: 6 |
Hi,
I was just looking at the momentum equation for an incompressible MHD flow online (https://www.openfoam.com/documentati...utorialse4.php) and saw that is was slightly different in mhdfoam.C: The equation in that link is: Code:
fvm::ddt(U) + fvm::div(U, U) - fvc::div(B, 2.0*DBU*B) - fvm::div(nu, U) + fvc::grad(DBU*magSqr(B)) == -fvc::grad(p)); While the one in mhdFoam is Code:
fvm::ddt(U) + fvm::div(phi, U) - fvc::div(phiB, 2.0*DBU*B) - fvm::laplacian(nu, U) + fvc::grad(DBU*magSqr(B)) == -fvc::grad(p)); I know I'm just being stupid, but why is phi and phiB used instead of U and B? And why is the vicosity term a laplacian operator rather than a divergence? Thanks! Edmund |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 21:43 |
How to Include particle implicit and EXPLICIT source terms in VOF momentum equation | ali_atrian | OpenFOAM Programming & Development | 2 | January 12, 2016 04:01 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 06:27 |
Question on the discretization of momentum equation in icoFoam | MPJ | OpenFOAM | 3 | October 4, 2011 09:44 |
Discretization of momentum equation query | siw | CFX | 0 | June 20, 2011 08:38 |