|
[Sponsors] |
Sample case of simplified energy transport simulation for incompressible flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2020, 08:42 |
Sample case of simplified energy transport simulation for incompressible flow
|
#1 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
I've attached a simplified energy transport simulation case for incompressible flow with the following functionality in OpenFOAM v2006:
Settings of readFields and energyTransport function objects in system/controlDict Code:
readKappaFields { type readFields; libs (fieldFunctionObjects); fields (kappaField); readOnStart true; } energyTransport { type energyTransport; libs (solverFunctionObjects); enabled true; writeControl outputTime; writeInterval 1; field T; phi phi; // Thermal properties Cp Cp [J/kg/K] 1e3; kappa kappa [W/m/K] 0.0257; rhoInf rho [kg/m^3] 1.2; write true; fvOptions { } } Code:
hole { type externalWallHeatFluxTemperature; mode flux; q uniform 500; kappaMethod lookup; kappa kappaField; value uniform 300; } Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object kappaField; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 1 -3 -1 0 0 0]; internalField uniform 0.0257; boundaryField { inlet { type fixedValue; value $internalField; } outlet { type fixedValue; value $internalField; } up { type symmetry; } hole { type fixedValue; value $internalField; } frontAndBack { type empty; } } Fumiya
__________________
[Personal]
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Energy balance in conjugative/ porous simulation; Domain Energy is greater than Input | Vishnu_bharathi | CFX | 2 | June 27, 2018 11:08 |
[General] Calculation of Cp in case of dynamic simulation. | Metikurke | ParaView | 1 | May 30, 2018 10:52 |
flow simulation across a small fan | jane luo | Main CFD Forum | 15 | April 12, 2004 18:49 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |
Why FVM for high-Re flows? | Zhong Lei | Main CFD Forum | 23 | May 14, 1999 14:22 |