Quote:
|
Quote:
You are right, that was my mistake. Sorry for spamming. Syavash |
Hi all,
I was trying to compile perturbU, following the git instructions on the wiki page. But unfortunately I encountered the following compilation error. g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -c perturbU.C -o Make/linux64GccDPInt32Opt/perturbU.o perturbU.C:43:32: fatal error: wallDistReflection.H: No such file or directory #include "wallDistReflection.H" Can someone point me in the right direction? I am using OpenFOAM version 3.0.0. I tried to search OpenFOAM source directory for the include file but since I am not too familiar with the code I could not find anything relevant. Thanks |
Quote:
Please let me know if it works as intended. |
quick reply: compiled without any errors.
thanks for the fix. I was trying to figure out vector calculations by myself and apparently they tidied up the walldist routines which caused the compilation error. I will update after some test runs. |
Great job wyldkat.
Just two points for user: 1. For OF3.0.x the structure of the transportProperties seems to be changed a little bit and perturbUChannel complains about not being able to read it. Change the constant/transportProperties from: Quote:
Quote:
|
Many thanks anishtain4, I've added a section in the wiki page with the information that you've provided: http://openfoamwiki.net/index.php/Co...bU#Usage_Notes
|
perturbU in a ribbed channel
Hey guys,
Do we need the perturbU-Utility just to initialize the turbulent flow only in a channel or cylinder, or can I use this utility for ribbed channel :confused:? Thanks for your support. |
@Mirage: You can use the utility to initialize the field before your ribs. Or initialize a domain without ribs and then map it in your case (if you have periodic boundary conditions).
Also in OF5.0, in the perturbUCylinder/perturbU.C, line 67 should be changed from: Quote:
Quote:
|
Of5
Quote:
|
Quote:
|
Quote:
|
Dear Foamers,
First of all thanks to Eugene de Villiers for sharing such an utility tool with the open world. I m trying to use this tool but at the last step when I was using it for my simulation it is giving a command like Quote:
If anyone knows how to tackle this issue will be grateful if you share. |
All times are GMT -4. The time now is 08:57. |