|
[Sponsors] |
turbulentHeatFluxTemperature doesn't work with buoyantBoussinesqPimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 20, 2018, 15:28 |
turbulentHeatFluxTemperature doesn't work with buoyantBoussinesqPimpleFoam
|
#1 |
Member
Yeru
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 11 |
Dear all,
I am using OF 1612 on Centos 7, it was installed by following the tutorial on OFWiki. I am currently modifying the hotRoom tutorial case under solver buoyantBoussinesqPimpleFoam to specify a constant heat flux at the floor. The modified BC for T is as below: Code:
boundaryField { floor /*{ type fixedValue; value uniform 300; // Original }*/ { type compressible::turbulentHeatFluxTemperature; heatSource flux; q uniform 10e5; value uniform 293.15; kappaMethod fluidThermo; kappa none; Qr none; } ceiling { type fixedValue; value uniform 300; } fixedWalls { type zeroGradient; } } Code:
Starting time loop Courant Number mean: 0 max: 0 Time = 2 PIMPLE: iteration 1 --> FOAM FATAL ERROR: Kappa defined to employ fluidThermo method, but thermo package not available From function Foam::tmp<Foam::Field<double> > Foam::temperatureCoupledBase::kappa(const scalarField&) const in file turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C at line 142. FOAM exiting Code:
case mtFluidThermo: { typedef compressible::turbulenceModel turbulenceModel; word turbName(turbulenceModel::propertiesName); if ( mesh.foundObject<turbulenceModel>(turbName) ) { const turbulenceModel& turbModel = mesh.lookupObject<turbulenceModel>(turbName); return turbModel.kappaEff(patchi); } else if (mesh.foundObject<fluidThermo>(basicThermo::dictName)) { const fluidThermo& thermo = mesh.lookupObject<fluidThermo>(basicThermo::dictName); return thermo.kappa(patchi); } else if (mesh.foundObject<basicThermo>(basicThermo::dictName)) { const basicThermo& thermo = mesh.lookupObject<basicThermo>(basicThermo::dictName); return thermo.kappa(patchi); } else { FatalErrorInFunction << "Kappa defined to employ " << KMethodTypeNames_[method_] << " method, but thermo package not available" << exit(FatalError); } break; } So can anybody give me some ideas on where has gone wrong, or do you have any idea how to apply a constant heat flux at the wall. Many thanks, Yeru |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RP_Set_Integer does not work in parallel | 86lolo | Fluent UDF and Scheme Programming | 2 | July 3, 2014 11:37 |
Does CX_Interpret_String work in parallel? | 86lolo | Fluent UDF and Scheme Programming | 2 | June 30, 2014 04:36 |
Companies that lease software & hardware for cloud-based work? | Catthan | ANSYS | 0 | June 18, 2014 10:53 |
Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 12:08 |
why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 21:03 |