|
[Sponsors] |
![]() |
![]() |
#22 |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#23 |
New Member
Orcun Kozaka
Join Date: Dec 2009
Posts: 6
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#24 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
Please let me know if it works as intended.
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#25 |
New Member
Orcun Kozaka
Join Date: Dec 2009
Posts: 6
Rep Power: 16 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#26 | ||
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 ![]() |
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:
|
|||
![]() |
![]() |
![]() |
![]() |
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
![]() |
![]() |
![]() |
#28 |
Member
Mirage
Join Date: Jul 2012
Posts: 43
Rep Power: 14 ![]() |
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 ![]() Thanks for your support. |
|
![]() |
![]() |
![]() |
![]() |
#29 | ||
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 ![]() |
@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:
|
|||
![]() |
![]() |
![]() |
![]() |
#30 | |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 232
Rep Power: 10 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#31 | |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 232
Rep Power: 10 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#32 |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#33 | |
Senior Member
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7 ![]() |
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. |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PerturbU | nzy102 | OpenFOAM Running, Solving & CFD | 0 | April 23, 2007 20:06 |