CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

PerturbU

Register Blogs Community New Posts Updated Threads Search

Like Tree22Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2015, 19:25
Default
  #21
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by syavash View Post
I have problem compiling perturbU on OpenFOAM 2.3.1 and get the following error after running wmake all:
Quick question: What error? There is no error message in the output that you provided.
wyldckat is offline   Reply With Quote

Old   October 9, 2015, 05:32
Default
  #22
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick question: What error? There is no error message in the output that you provided.
Hi Bruno,

You are right, that was my mistake. Sorry for spamming.

Syavash
syavash is offline   Reply With Quote

Old   March 8, 2016, 15:21
Default
  #23
New Member
 
Orcun Kozaka
Join Date: Dec 2009
Posts: 6
Rep Power: 17
excolade is on a distinguished road
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
excolade is offline   Reply With Quote

Old   March 13, 2016, 14:59
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by excolade View Post
Can someone point me in the right direction? I am using OpenFOAM version 3.0.0.
Quick answer: I've updated the repository and the wiki page for OpenFOAM 3.0: https://openfoamwiki.net/index.php/Contrib/perturbU

Please let me know if it works as intended.
__________________
wyldckat is offline   Reply With Quote

Old   March 13, 2016, 15:24
Default
  #25
New Member
 
Orcun Kozaka
Join Date: Dec 2009
Posts: 6
Rep Power: 17
excolade is on a distinguished road
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.
excolade is offline   Reply With Quote

Old   March 22, 2016, 13:22
Default
  #26
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
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:
Ubar [0 1 -1 0 0 0 0] (0.1335 0 0);

transportModel Newtonian;

nu [0 2 -1 0 0 0 0] 2e-05;
to

Quote:
Ubar Ubar [0 1 -1 0 0 0 0] (0.1335 0 0);

transportModel Newtonian;

nu nu [0 2 -1 0 0 0 0] 2e-05;
2. The default perturbUDict has the bulk velocity set to false. As Eugene mentions in his thesis this would lead to damping the perturbations, to get a turbulent field in steady state set it back to true.
wyldckat likes this.
anishtain4 is offline   Reply With Quote

Old   March 26, 2016, 07:38
Default
  #27
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
anishtain4 likes this.
wyldckat is offline   Reply With Quote

Old   September 6, 2016, 20:34
Question perturbU in a ribbed channel
  #28
Member
 
Mirage
Join Date: Jul 2012
Posts: 43
Rep Power: 14
Mirage is on a distinguished road
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.
Mirage is offline   Reply With Quote

Old   August 14, 2017, 13:52
Default
  #29
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
@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:
if(Uheader.headerOk())
to
Quote:
if(Uheader.good())
godfatherBond and calf.Z like this.
anishtain4 is offline   Reply With Quote

Old   January 24, 2018, 13:15
Default Of5
  #30
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10
gu1 is on a distinguished road
Quote:
Originally Posted by anishtain4 View Post
@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:
Can you explain this change, please?
gu1 is offline   Reply With Quote

Old   January 25, 2018, 09:36
Default
  #31
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10
gu1 is on a distinguished road
Quote:
Making dependency list for source file perturbU.C
could not open file cyclicAMILduInterface.H for source file perturbU.C due to No such file or directory
could not open file cyclicAMIPolyPatch.H for source file perturbU.C due to No such file or directory
could not open file addLatestTimeOption.H for source file perturbU.C due to No such file or directory
g++ -std=c++11 -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/openfoam5/src/finiteVolume/lnInclude -I/opt/openfoam5/src/cfdTools/general/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c perturbU.C -o Make/linux64GccDPInt32Opt/perturbU.o
In file included from /opt/openfoam5/src/finiteVolume/lnInclude/ddtScheme.C:30:0,
from /opt/openfoam5/src/finiteVolume/lnInclude/ddtScheme.H:342,
from /opt/openfoam5/src/finiteVolume/lnInclude/fvcDdt.C:28,
from /opt/openfoam5/src/finiteVolume/lnInclude/fvcDdt.H:205,
from /opt/openfoam5/src/finiteVolume/lnInclude/fvc.H:44,
from /opt/openfoam5/src/finiteVolume/lnInclude/fvCFD.H:8,
from perturbU.C:26:
/opt/openfoam5/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:35: fatal error: cyclicAMILduInterface.H: Arquivo ou diretório não encontrado
compilation terminated.
/opt/openfoam5/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/perturbU.o' failed
make: *** [Make/linux64GccDPInt32Opt/perturbU.o] Error 1
Any can help me?
gu1 is offline   Reply With Quote

Old   November 1, 2019, 21:39
Default
  #32
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8
calf.Z is on a distinguished road
Quote:
Originally Posted by gu1 View Post
Any can help me?
I am wondering the meaning of betaPlus, sigma alphaPlus and alphaPlus in perturbU.C, How chould they affect the perturbation results. Thank you.
calf.Z is offline   Reply With Quote

Old   November 19, 2020, 21:38
Default
  #33
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
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:
perturbUChannel: command not found
I succesfully installed it in my LInux, pasted the file perTurbUdict in system directory but inspite of all these its showing the error.
If anyone knows how to tackle this issue will be grateful if you share.
ari003 is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
PerturbU nzy102 OpenFOAM Running, Solving & CFD 0 April 23, 2007 21:06


All times are GMT -4. The time now is 06:00.