|
[Sponsors] |
Replace H equation with Teqn in chtMultiregionFoam OF 2.3 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2014, 21:37 |
Replace H equation with Teqn in chtMultiregionFoam OF 2.3
|
#1 |
New Member
Monssif
Join Date: Mar 2014
Posts: 5
Rep Power: 12 |
Hi everybody,
I'm trying to replace sensible enthalpy equation in solid region with Teqn, so instead of write thermo.h() I replace it with thermo.T() in setRegionSolidFields.H volScalarField& T = thermo.T(); and for kappa tmp<volVectorField> tK = thermo.Kappa(); const volVectorField& K = tK(); and then I wrote the Teq as follow: Code:
fvScalarMatrix TEqn ( fvm::ddt(rho*cp, T) - fvm::laplacian(K, T) ); TEqn.solve(); Info<< "Min/max T:" << min(T) << ' ' << max(T) << endl; /usr/bin/ld: cannot find -lthermophysicalModels I use OpenFoam 2.3 Thanks, Best regards and have a nice day. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rotational and inviscid | Mike | Main CFD Forum | 40 | November 9, 2023 07:03 |
Poisson equation vs continuity equation | DJ | Main CFD Forum | 1 | August 5, 2004 21:01 |
continuity equation for the mixture | mateus | Main CFD Forum | 0 | May 2, 2003 04:59 |
Diffusion Equation | izardy amiruddin | Main CFD Forum | 2 | July 4, 2002 09:14 |
Boundary conditions in a Poisson's equation? | vincent | Main CFD Forum | 4 | April 16, 1999 03:19 |