New residuals function type in OF 2.4.0 not known
Dear all,
I just installed the OF 2.4.0 Deb packs created for Ubuntu and I wanted to check the new residuals function for a simple test case. Using the example mentioned on residuals.H in the src directory I included the following lines on my controlDict: Code:
functions Code:
--> FOAM FATAL ERROR: The case I am testing is using the LTSReactingFoam solver and the tutorial included with that solver had the following lines in the controlDict: Code:
libs So the first question is, are the default 4 valid functions the expected behaviour, or is there possibly a problem with the OF 2.4.0 Deb packs? And the second question is which library from: Code:
/opt/openfoam240/platforms/linux64GccDPOpt/lib Regards, Babis ps. Well done to everyone involved developing OF! :) |
Hi,
The function is in libutilityFunctionObjects.so, you can add this line to function description: Code:
functionObjectLibs ("libutilityFunctionObjects.so"); Code:
functions To learn to which library function object belongs, you can go to $FOAM_SRC/postProcessing/functionObjects and look into subfolders (ex. field/Make/files contains line LIB = $(FOAM_LIBBIN)/libfieldFunctionObjects, so all function objects from field folder go to libfieldFunctionObjects.so library). |
Cheers for the prompt reply Alexey!
This solved my problem, and now I can use the new foamMonitor script to plot the residuals on the go, very nice indeed! Thanks about the library info as well, in fact I did have a quick look at: Code:
$FOAM_SRC/postProcessing/functionObjects/utilities/Make/files |
All times are GMT -4. The time now is 22:04. |