|
[Sponsors] |
totalFlowRateAdvectiveDiffusive BC with RAS Model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 2, 2018, 07:36 |
totalFlowRateAdvectiveDiffusive BC with RAS Model
|
#1 |
New Member
Esteban Maya
Join Date: Jun 2016
Posts: 1
Rep Power: 0 |
I'm trying to use the totalFlowRateAdvectiveDiffusive boundary condition for the fuel zone in a combustion case including fuel pyrolysis. I took as a reference the oppositeBurningPanels tutorial, but when I change the turbulence model to kEpsilon (RAS) I get this error:
--> FOAM FATAL ERROR: lookup of turbulenceProperties from objectRegistry region0 successful but it is not a LES, it is a kEpsilon Has someone ever had the same problem and managed to solve it? I really appreciate the help or ideas to deal with this. |
|
April 25, 2019, 06:45 |
|
#2 |
New Member
Join Date: Dec 2015
Posts: 20
Rep Power: 10 |
Hi,
You can use RANS model by making simple change in the code. In order to use RANS model you have to edit totalFlowRateAdvectiveDiffusiveFvPatchScalarField. C. In OpenFOAM-6, edit line number 157 original code: const LESModel<EddyDiffusivity<compressible::turbulenceM odel>>& turbModel = db() . lookupObject< LESModel<EddyDiffusivity<compressible::turbulenceM odel>> > Modify this statement as given below. const compressible::turbulenceModel& turbModel = db() . lookupObject<compressible::turbulenceModel> Copy this code in your user directory and make changes accordingly. Then you can compile the library function using wmake libso. For using this new boundary condition, you have to specify in your controlDict file. |
|
Tags |
rasmodel, totalflowrate pyrolysis |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vof and RAS Model | Mousa.h | OpenFOAM Running, Solving & CFD | 0 | May 12, 2018 04:20 |
[OpenFOAM-2.1.0] kklOmega RAS Turbulence Model (low Re) | alquimista | OpenFOAM Running, Solving & CFD | 64 | June 17, 2016 15:39 |
coalChemistryFoam: "Foam::error::printStack(Foam::Ostream&) at ??:?" | musabai | OpenFOAM Running, Solving & CFD | 2 | February 20, 2015 15:07 |
change RAS model | Jackie Chen | OpenFOAM | 2 | February 26, 2014 06:14 |