|
[Sponsors] |
September 4, 2024, 05:58 |
error on request for viscosityModel
|
#1 |
New Member
Join Date: Apr 2020
Posts: 6
Rep Power: 6 |
Hi, foamers,
Would be really grateful if someone could help me with this. Basically, I'm creating a model for wind-driven-rain studies. I'm using latest openFoam.org v12 with solver multiphaseEuler and PIMPLE. The model I created based on tutorial named aachenBomb and hotBoxs, since I suppose they are both using cloud and particle stuffs. However, I encountered error "request for viscosityModel physicalProperties from objectRegistry region0 failed available objects of type viscosityModel are 0()" I have ensured both air and water have their defined in their respective files physicalProperties.air and physicalProperties.water. I check 0 files and schemes and solvers. Just the error persist. anyone has any suggestion or tips for this one. Please hit me a little bit. I attached log.foamRun file here. Struggled for weeks, really need a hand here. Code:
Create time Create mesh for time = 0 Selecting solver multiphaseEuler Selecting phaseSystem basicMultiphaseSystem No MRF models present Selecting phaseModel for air: purePhaseModel Selecting diameterModel for phase air: isothermal Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } Calculating face flux field phi.air Selecting turbulence model type RAS Selecting RAS turbulence model kOmegaSST RAS { model kOmegaSST; turbulence on; printCoeffs on; alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } Selecting thermophysical transport type RAS Selecting default RAS thermophysical transport model unityLewisEddyDiffusivity Selecting phaseModel for water: purePhaseModel Selecting diameterModel for phase water: constant Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport const; thermo eConst; equationOfState rhoConst; specie specie; energy sensibleInternalEnergy; } Calculating face flux field phi.water Selecting turbulence model type laminar Selecting laminar stress model Stokes Selecting thermophysical transport type laminar Selecting default laminar thermophysical transport model unityLewisFourier Selecting interfaceSurfaceTensionModel for air_water: constant Selecting dragModel blending method for air_water: linear Selecting dragModel for air_dispersedIn_water: SchillerNaumann Selecting dragModel for water_dispersedIn_air: SchillerNaumann Selecting dragModel for air_segregatedWith_water: segregated Selecting virtualMassModel blending method for air_water: linear Selecting virtualMassModel for air_dispersedIn_water: constantCoefficient Selecting virtualMassModel for water_dispersedIn_air: none Selecting heatTransferModel blending method for air_water: linear Selecting heatTransferModel for air_dispersedIn_water: RanzMarshall Selecting heatTransferModel for water_dispersedIn_air: RanzMarshall Courant Number mean: 0.0994444 max: 0.1 Creating fvModels from "constant/fvModels" Selecting finite volume model type clouds Name: clouds [6] [6] [6] --> FOAM FATAL ERROR: [6] request for viscosityModel physicalProperties from objectRegistry region0 failed available objects of type viscosityModel are 0() [6] [6] From function [8] [8] [8] --> FOAM FATAL ERROR: [8] request for viscosityModel physicalProperties from objectRegistry region0 failed available objects of type viscosityModel are 0() [8] [8] From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::viscosityModel] [8] in file /home/ubuntu/OpenFOAM/OpenFOAM-12/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 211. [8] FOAM parallel run aborting |
|
September 7, 2024, 05:29 |
|
#2 |
New Member
Join Date: Apr 2020
Posts: 6
Rep Power: 6 |
I found when OF reading fvModel file, it is request for viscosityModel physicalProperties from objectRegistry region0 failed.
So how can I define the proper physicalProperties? Any function or entry can be used in fvModel file? |
|
Tags |
viscositymodel, wdr |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] could not open file .vtk in paraview | ali_atrian | ParaView | 8 | August 27, 2014 11:31 |
[OpenFOAM] Saving ParaFoam views and case | sail | ParaView | 9 | November 25, 2011 16:46 |
Problem with paraFoam | ata | OpenFOAM | 14 | November 30, 2009 05:23 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
[OpenFOAM] Xwindows crash with paraview save | srinath | ParaView | 1 | October 15, 2008 10:37 |