|
[Sponsors] |
January 12, 2015, 03:12 |
energy equation problem
|
#1 |
New Member
Join Date: Jan 2015
Posts: 14
Rep Power: 11 |
hello, eveybody
i'm a new in learning OpenFoam and have problems in reading the EEqn.H in the solver of buyoantSimpleFoam. what do the follwing secentences respect for? he.name() == "e" ? fvc::div(phi, volScalarField("Ekp", 0.5*magSqr(U) + p/rho)) : fvc::div(phi, volScalarField("K", 0.5*magSqr(U))) and i also doubt about the "fvOptions" followed. |
|
January 12, 2015, 04:17 |
|
#2 | ||
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi Gary
Quote:
internal energy Code:
fvc::div(phi, volScalarField("Ekp", 0.5*magSqr(U) + p/rho)) Code:
fvc::div(phi, volScalarField("K", 0.5*magSqr(U))) Quote:
Hope this helps a bit. Cheers Fabian |
|||
January 12, 2015, 08:55 |
|
#3 |
New Member
Join Date: Jan 2015
Posts: 14
Rep Power: 11 |
Thank you very much, Febian. Now i can completely understand it
Regard, Gary |
|
January 29, 2015, 04:52 |
|
#4 | |
New Member
Join Date: Jan 2015
Posts: 14
Rep Power: 11 |
Quote:
Now i want to add a source term in the energy equation using the fvOptions. where can i get enough info about it? Regards! Gary |
||
February 20, 2015, 05:36 |
|
#5 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Browse the tutorials and you will find everthing you need:
Code:
energySource1 { type scalarSemiImplicitSource; active true; timeStart 0.2; duration 2.0; selectionMode points; points ( (2.75 0.5 0) ); scalarSemiImplicitSourceCoeffs { volumeMode absolute; injectionRateSuSp { h (10 0); } } } Code:
source1 { type fixedTemperatureConstraint; active true; timeStart 0.1; duration 0.4; selectionMode cellSet; cellSet ignitionCells; fixedTemperatureConstraintCoeffs { mode uniform; temperature 2000; } } |
|
August 7, 2015, 08:55 |
What "ekp" stands for in EEqn.h file in rhoPorousSimpleFoam
|
#6 |
New Member
Umesh
Join Date: Feb 2015
Posts: 5
Rep Power: 11 |
Hello Everybody,
I am trying to understand a rhoPorousSimpleFoam solver but stuck in the file EEqn.h at solvers directory. fvScalarMatrix EEqn ( fvm::div(phi, he) + ( he.name() == "e" ? fvc::div(phi, volScalarField("Ekp", 0.5*magSqr(U) + p/rho)) : fvc::div(phi, volScalarField("K", 0.5*magSqr(U))) ) - fvm::laplacian(turbulence->alphaEff(), he) == fvOptions(rho, he) ); In above code what is "Ekp" and "K" stands for . And one more question, how to get value in "fvOptions(rho, he)". Thanks in advance. Waiting for your reply. |
|
Tags |
eeqn.h |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
Energy equation in bouyant*Foam solvers | makaveli_lcf | OpenFOAM Running, Solving & CFD | 0 | December 21, 2009 05:09 |
Viscosity and the Energy Equation | Rich | Main CFD Forum | 0 | December 16, 2009 15:01 |
Coupled solver energy equation problem | lucioantonio | FLUENT | 0 | April 3, 2009 11:21 |
Problem with Joulebs effect source term in the energy equation | galaad | OpenFOAM Running, Solving & CFD | 0 | January 19, 2006 13:01 |