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

ChannelOodles initial conditions

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2009, 07:34
Default
  #61
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by hadi View Post
Hi to all,

I have another question, when i restart averaging do u think i should, set nuSgs boundary condition to zeroGradient, or i can keep the lastest values?
Because i was wondering if it might affect the results.
Do u think that rms values should be symmetric even if the values are not converged yet, since the fields are collapsed in streamwise and spanwise directions ?

Thanks in advance
Hadi
Hello.

I would like to catch up with this question.
I'm currently doing channel flow simulations in a square duct.
I was woundering under which conditions a zeroGradient boundary condition for nuSgs at the wall is justified?

S.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   November 3, 2010, 09:01
Default perturbU options
  #62
Member
 
Bernhard Grieser
Join Date: Mar 2010
Location: Zurich, Switzerland
Posts: 30
Rep Power: 16
BernhardGrieser is on a distinguished road
Did someone already run perturbU for channels with OpenFOAM 1.7.1 ?
I have issues matching the libraries correctly when compiling with "wmake".

There's a few versions of perturbU around (e.g. 742, 4342, 3316). Their ./Make/options -files are different:

Version perturbU-742:
EXE_INC = \
-I$(LIB_SRC)/cfdTools/incompressible \
-I$(LIB_SRC)/cfdTools/lnInclude

Version perturbU-4342:
EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude

EXE_LIBS = \
-lmeshTools \
-lfiniteVolume

Version perturbU-3316:
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/cfdTools/incompressible \
-I$(LIB_SRC)/cfdTools/lnInclude

EXE_LIBS = \
-lfiniteVolume \
-lmeshTools


Can someone who's successfully running perturbU on OF171 post his options for me, please?

Best regards,
Bernhard
BernhardGrieser is offline   Reply With Quote

Old   November 5, 2010, 04:54
Default
  #63
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16
stevenvanharen is on a distinguished road
EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude


EXE_LIBS = \
-lmeshTools \
-lfiniteVolume

This works fine for me, but it appears you already have tried this.
stevenvanharen is offline   Reply With Quote

Old   November 5, 2010, 06:04
Default perturbU weird output
  #64
Member
 
Bernhard Grieser
Join Date: Mar 2010
Location: Zurich, Switzerland
Posts: 30
Rep Power: 16
BernhardGrieser is on a distinguished road
Thanks for posting, Steven!

I just tested your settings on my private computer as well. This time no error message appears after compiling, but the results are strange. Attached is a cut through of the flowfield of the spanwise component of U, which is the only component that has changed. My geometry is a simple squareDuct, divided into several blocks.

I changed various parameters within perturbUDict, but the outcome was always the same.

Which perturbU.C - file are you using in OpenFOAM-1.7.1? Maybe you can also post the content of yours.

Regards,
Bernhard
Attached Images
File Type: jpg perturbU.jpg (13.4 KB, 75 views)
BernhardGrieser is offline   Reply With Quote

Old   November 5, 2010, 06:27
Default
  #65
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16
stevenvanharen is on a distinguished road
haha, that looks indeed strange

my perturbU works without a dictionary

I attached the C file. Good luck!
Attached Files
File Type: c perturbU.C (5.2 KB, 103 views)
dong likes this.
stevenvanharen is offline   Reply With Quote

Old   February 3, 2014, 14:03
Default
  #66
Senior Member
 
Canakkale Dardanelspor
Join Date: Aug 2012
Posts: 135
Rep Power: 14
HakikiCanakkaleli is on a distinguished road
For those who would like to use this utility in OpenFOAM 2.2.x.
Many thanks for the utility.
Attached Files
File Type: zip perturbU.zip (90.6 KB, 59 views)
dong likes this.
HakikiCanakkaleli is offline   Reply With Quote

Old   May 14, 2014, 16:07
Default
  #67
New Member
 
Christiano Molossi
Join Date: Sep 2013
Posts: 10
Rep Power: 13
m.Chrsitiano is on a distinguished road
Hello,

I want to do a 3d lock-exchange simulation. And I would like to set an initial pertubation in velocity. But how do I implement de perturbU for exemple in twoLiquidMixingFoam case?

Thank you for any replay, any answer would be very helpful!
m.Chrsitiano is offline   Reply With Quote

Old   June 27, 2014, 13:04
Default for Re=180
  #68
New Member
 
Join Date: Feb 2013
Posts: 21
Rep Power: 13
Shahr is on a distinguished road
I am having difficulty for perturbing flow for Re_tau=180. It works perfectly for Re=395. My OF version is 2.3.x and I use the perturbU posted by HakikiCanakkaleli.

I tried to change the perturbU parameters too, but they don't work either. No matter what parameters I choose, the result U field is either very laminar-like or leads to laminar-like flow in say 50 time steps.

Any help in initialisation of Re_tau=180 flow is hugely appreciated.
Shahr is offline   Reply With Quote

Old   November 20, 2020, 08:56
Default
  #69
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Quote:
Originally Posted by nzy102 View Post
Hi Marhamat:

Somehow I couldn't get converged results. The calcuated pressure gradient is way off from the analytical solution. I am trying to compare my results with kim's dns data and moser's les data. My setup is exactly same as channel395 except that I used different computational domain. The initial condition for u is generated using perturbU. I've be running this case for more than 20 flow through times. Do you have similar experience? Regarding perturbU, do I need to turn on bulk flow?

Ning
Hello Ning, could you please share how you ran that perturbU in the terminal? I'm getting repeated error stating Command not found despite proper installation.
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
Burgerbs equation non constant Boundary Conditions Initial Conditions arkangel OpenFOAM Running, Solving & CFD 1 October 2, 2008 15:48
Initial conditions Shuo Main CFD Forum 2 July 27, 2007 09:57
Initial conditions = final conditions Chucho CFX 5 December 16, 2005 18:14
Initial conditions Allan CFX 5 April 23, 2002 09:54
Initial conditions in CFX 5.5 Astrid CFX 3 December 19, 2001 00:24


All times are GMT -4. The time now is 22:15.