reactingEulerFoam > functionObjects > phaseForces
hi all,
i'm using the reactingMultiphaseEulerFoam solver. I want to compute the forces for postprocessing. there is a function that does that job, but i don't know how to use it. i look at the source code and it says: Code:
Example of function object specification: Code:
functions [1] --> FOAM FATAL IO ERROR: [1] keyword phase is undefined in dictionary "IOstream.functions.phaseForces.water" [1] [1] file: IOstream.functions.phaseForces.water from line 0 to line 0. [1] [1] From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const [1] in file db/dictionary/dictionary.C at line 573. when i run the solver without that it runs without a problem. could anybody please help? thanks and regards. |
Hi,
I don't use reactingEulerFoam but I'll give a try since the error message seems pretty straightforward : Code:
keyword phase is undefined in dictionary "IOstream.functions.phaseForces.water" It complains about the parameter "phase" missing in the definition of the function phaseForces.water. My best guess is that the parameter "phaseName" has been renamed "phase" but the header is not up to date. Try to replace phaseName with phase and see if it solves your problem. Cheers, Yann |
Quote:
thank you very much. obviously the description of the header was not updated. |
so another problem arose:
i change the phase to np4, which stands for the dispersed phase. i want to compute the turbulent dispersion force for that phase. in the phase property dict i need to write the following: turbulentDispersion ( (np4 in water) { type Burns; sigma 0.75; Ctd 1.0; residualAlpha 1e-3; } ) i also have 5 other dispersed phases which are named np1,...,np6, but only np4 has alpha value above zero, so the others are non-existend. now when i run the solver i get this error message: [0] --> FOAM FATAL ERROR: [0] request for BlendedInterfacialModel<turbulentDispersionModel> BlendedInterfacialModel<turbulentDispersionModel>. np5AndNp4 from objectRegistry region0 failed available objects of type BlendedInterfacialModel<turbulentDispersionModel> are 6 ( BlendedInterfacialModel<turbulentDispersionModel>. np1AndWater BlendedInterfacialModel<turbulentDispersionModel>. np4AndWater BlendedInterfacialModel<turbulentDispersionModel>. np6AndWater BlendedInterfacialModel<turbulentDispersionModel>. np3AndWater BlendedInterfacialModel<turbulentDispersionModel>. np5AndWater BlendedInterfacialModel<turbulentDispersionModel>. np2AndWater ) any ideas? |
obviously now the program thinks that np4 is continous phase and is looking for dispersedPhase-contiPhase-Pairs and can't find the combination because both are dispersed phases.
i think that it is a bug. |
All times are GMT -4. The time now is 08:25. |