|
[Sponsors] |
February 12, 2015, 02:34 |
swakFunctionObject
|
#1 |
Senior Member
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11 |
Hi friends.
I have a problem with swakFunctionObject for nusselt calculation. my openfoam version is 2.2.1 . libs ( "libOpenFOAM.so" "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" ); functions ( NusseltNumber { type patchExpression; patches ( down ); verbose true; variables ( "Tsat=500;" "lc2D=0.0072301; ); expression "lc2D*snGrad(T)/(T-Tsat)"; accumulations ( max min average ); } ); and error is : unknown function type patchExpression thank you. |
|
February 19, 2015, 12:21 |
|
#2 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hello,
Try to add this library to your controlDict Code:
"libsimpleFunctionObjects.so" Regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
February 22, 2015, 02:00 |
|
#3 |
Senior Member
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11 |
Hi alex,
thank you for attention to my question. I think my problem is not for library definition. in openfoam 2.2.1 functions type changed to specific words and i don't know how this types work |
|
Tags |
nusselt calculation |
Thread Tools | Search this Thread |
Display Modes | |
|
|