CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

reactingEulerFoam > functionObjects > phaseForces

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 29, 2020, 04:31
Default reactingEulerFoam > functionObjects > phaseForces
  #1
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
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:
    \verbatim
    phaseForces.water
    {
        type            phaseForces;
        libs ("libreactingEulerFoamFunctionObjects.so");
        writeControl    writeTime;
        writeInterval   1;

        ...

        phaseName       water;
    }
    \endverbatim
so i type in in controlDict exactly that:
Code:
functions
{

	phaseForces.water
	{
		type		phaseForces;
		libs ("libreactingEulerFoamFunctionObjects.so");
        writeControl    outputTime;
        writeInterval   1;
        log             false;
		phaseName       water;
	}
}
however i get lots of error messages, one of them is that:
[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.
geth03 is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:46.