Menu

#222 swak4foam angledDuctWithBalls example does not work for OF 23x

new
nobody
normal
minor
Always
none
Linux
OpenFoam 23x
simpleFunctionObjects
2014-07-02
2014-07-02
No

The angledDuctWithBalls example under Example/Lagrangian/functionObjects does not work for the latest version OF23x

I have updated the solver to fit the OF setting by changing the thermodict to

thermoType
{
type hePsiThermo;
mixture pureMixture;
transport sutherland;
thermo hConst;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Hf 0;
Cp 1001;
}
transport
{
As 1.4792e-06;
Ts 116;
}
}

Also I modified the fvSchemes a bit.

With the RASModel the solver inmediately crashes with a message saying
lookup of turbulenceModel from objectRegistry region0 successful
but it is not a turbulenceModel, it is a kEpsilon

If I switch to laminar and then remove all the turbulent related properties in the
constant/hotParticleCloudProperties file and add the interpolationSchems for thermo:mu and kappa the solver runs upto the point where the particles are moved. Then I get the message

--> FOAM FATAL ERROR:
Field name h not found in schemes

From function scalar cloudSolution::relaxCoeff(const word&) const
in file clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.C at line 174.

FOAM aborting

Any idea what is going wrong ? I have added my updated case file.

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.