|
[Sponsors] |
What are h_0 and h_0_0 in chtMultiRegionFoam solver? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 29, 2017, 15:02 |
What are h_0 and h_0_0 in chtMultiRegionFoam solver?
|
#1 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hi foamers,
It's been quite a while since my last post here, so I know everyone has been missing me a lot since then... But don't worry, here I am again! I am not foaming hard as I used to during my Master's Thesis but lately I have been doing some very simple tests with chtMultiRegion*Foam and swak4foam. I was trying to use some function objects in order to compute heats and energies in a very simple case and, just out of curiosity, I tried to visualize all the fields and stuff the solver uses by means of the following function object: Code:
listFields { type listRegisteredObjects; region base; outputControlMode timeStep; //startup; outputInterval 1; } Code:
Content of object registry base Name Type Autowrite ================================================================== ================ ========= (vol*(-thermo:alpha_copyBySwak4Foam*laplacian(h_copyBySwak4Foam))) IOobject No (vol*(thermo:rho_copyBySwak4Foam*ddt(h_copyBySwak4Foam))) IOobject No T volScalarField Yes betavSolid IOobject No boundary polyBoundaryMesh No cellZones regIOobject No data IOobject No faceZones regIOobject No faces faceList No fvOptions IOobject No fvSchemes dictionary No fvSolution dictionary No h IOobject No h_0 IOobject No h_0_0 IOobject No neighbour labelList No owner labelList No p volScalarField Yes pointZones regIOobject No points vectorField No radiationProperties IOobject No thermo:alpha IOobject No thermo:rho IOobject No thermophysicalProperties dictionary No I would appreciate any hint you can give me since maybe I can use these parameters as a variable in a function object or something... Many thanks in advance! PD: BTW, I'm using OF2.3.x. I'm a little outdated, I know...
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
August 30, 2017, 17:07 |
|
#2 |
Member
Yousef
Join Date: Feb 2015
Posts: 40
Rep Power: 11 |
Hi,
I don't know about that specific solver, but "_0" at the end of field names typically correspond to the old time steps. Openfoam stores those when you are using second order time scheme which requires knowledge of the previous timestep(s). That is why you don't have it in the 0 timestep. see the following code and look for "_0": OpenFOAM-5.x/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C Regards, Yousef |
|
September 1, 2017, 14:00 |
|
#3 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Thanks Yousef for your valuable words. I guessed it was exactly what you said but I was unsure.
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
Tags |
chtmulitregionfoam, enthalpy, function object, h_0 |
|
|