|
[Sponsors] |
![]() |
![]() |
#1 | |
Member
Vishnu
Join Date: May 2019
Location: Tamilnadu, India
Posts: 55
Rep Power: 7 ![]() |
Hi all,
I need to create heat flux (heat source) on the surface of the solid body. Actually now my requirement is to run Incompressible fluid, Heat transfer, Steady state with porous media for the geometry with both solid and fluid. Till now I worked out for Incompressible fluid, Steady state with porous media only for fluid using solver porousSimpleFoam. Now as an addition, I need to create heat source on the surface of the solid body (@wall). Quote:
which Solver is suitable for my case? For that i have to add energy equation EEqn.H with my case. I have an input as heat flux (W/m^2) and heat generation (W) value. Q1) Is it possible to give these as an input in energy equation? once again, my case is incompressible fluid with steady state Q2) buoyantBoussinesqPimpleFoam & buoyantBoussinesqSimpleFoam is for incompressible fluid but we can assign only in Temperature (T) term, not in heat flux or heat generation. is it correct? And buoyantSimpleFoam & buoyantPimpleFoam for compressible fluid. Please guide me to add energy equation (EEqn.H) with my case in (fvOptions) why I am facing this error? for solver porousSimpleFoam Code:
Creating finite volume options from fvOptions Selecting finite volume options model type scalarSemiImplicitSource Source: wall-mp-1 - applying source for all time - selecting all cells - selected 5338536 cell(s) with volume 0.000333435 Selecting finite volume options model type scalarSemiImplicitSource Source: wall-mp-2 - applying source for all time - selecting all cells - selected 5338536 cell(s) with volume 0.000333435 Selecting finite volume options model type scalarSemiImplicitSource Source: wall-dp-1 - applying source for all time - selecting all cells - selected 5338536 cell(s) with volume 0.000333435 Selecting finite volume options model type scalarSemiImplicitSource Source: wall-dp-2 - applying source for all time - selecting all cells - selected 5338536 cell(s) with volume 0.000333435 No MRF models present Creating porosity model list from porosityProperties Porosity region f-turbo: selecting model: DarcyForchheimer creating porous zone: f-turbo Using pressure explicit porosity Starting time loop Time = 1 DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.0135476, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.00853288, No Iterations 1 DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 0.00907314, No Iterations 1 GAMG: Solving for p, Initial residual = 1, Final residual = 0.00736855, No Iterations 8 time step continuity errors : sum local = 0.00220987, global = -0.000476259, cumulative = -0.000476259 DILUPBiCG: Solving for epsilon, Initial residual = 0.0494679, Final residual = 0.000589308, No Iterations 1 DILUPBiCG: Solving for k, Initial residual = 1, Final residual = 0.0183162, No Iterations 1 ExecutionTime = 64.352 s ClockTime = 64 s Time = 2 --> FOAM Warning : From function void option::checkApplied() const in file fvOptions/fvOption.C at line 368 Source wall-mp-1 defined for field h but never used Code:
thermoType { type heSolidThermo; mixture pureMixture; transport constIso; thermo hConst; equationOfState rhoConst; specie specie; energy sensibleEnthalpy; } mixture { specie { nMoles 1; molWeight 12; } transport { kappa 350; } thermodynamics { Hf 0; Cp 500; } equationOfState { rho 4000; } } Code:
wall-mp-1 { type scalarSemiImplicitSource; active true; selectionMode all; scalarSemiImplicitSourceCoeffs { volumeMode absolute; injectionRateSuSp //Semi-implicit source term S(x) = S_u + S_p x { h (50 0); } } } wall-mp-2 { type scalarSemiImplicitSource; active true; selectionMode all; scalarSemiImplicitSourceCoeffs { volumeMode absolute; injectionRateSuSp { h (50 0); } } } wall-dp-1 { type scalarSemiImplicitSource; active true; selectionMode all; scalarSemiImplicitSourceCoeffs { volumeMode absolute; injectionRateSuSp { h (137.5 0); } } } wall-dp-2 { type scalarSemiImplicitSource; active true; selectionMode all; scalarSemiImplicitSourceCoeffs { volumeMode absolute; injectionRateSuSp { h (137.5 0); } } } Last edited by Vishsel; September 13, 2019 at 04:30. Reason: for elaboration |
||
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Vishnu
Join Date: May 2019
Location: Tamilnadu, India
Posts: 55
Rep Power: 7 ![]() |
I still have no idea about this.
Please give me some hints if are seeing this post. thank you very much! |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
A V Shelke
Join Date: Jun 2014
Location: UK
Posts: 10
Rep Power: 12 ![]() |
You have added heat source in "all" regions
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |