|
[Sponsors] |
February 15, 2017, 16:08 |
User Defined Scalar Flux
|
#1 |
New Member
Sandilya Garimella
Join Date: Sep 2016
Posts: 2
Rep Power: 0 |
Hello
I am trying to solve two scalar transport equations using OpenFoam. : : { //Equation 1 solve ( fvm::laplacian(DT,V) ); U = -constant * fvc::grad(V); surfaceScalarField phiU ( "phiU", (fvc::interpolate(U) & mesh.Sf()) ); //Scalar Equation 2 solve ( fvm::ddt(R) + fvm::div(phiU,R) - fvm::laplacian(DR,R) ) } How do I calculate the flux term. The term U above is the convective velocity for the species R. But I need to calculate the flux. I use the surface scalar field option but the scalar R does not experience convection when I run. Thank you. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to modify the value of a user defined scalar | Raja Banerjee | Fluent UDF and Scheme Programming | 5 | March 5, 2019 15:19 |
User Wall Heat Flux | Dyls | STAR-CCM+ | 0 | May 13, 2013 12:58 |
User Defined Scalar (UDS) For Electric Potential | A CFD free user | FLUENT | 0 | March 30, 2013 08:22 |
User defined scalar | Tomik | FLUENT | 0 | February 8, 2007 20:23 |
user defined scalar | saghir | FLUENT | 1 | December 4, 2006 06:25 |