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

Plane channel flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2009, 20:16
Default Plane channel flow
  #1
New Member
 
Join Date: Mar 2009
Location: Sao Jose dos Campos, Brazil
Posts: 29
Rep Power: 17
piccinini is on a distinguished road
Hello,

I'm a very begginer in OpenFOAM. I'm just trying to simulate a laminar plane channel flow using icoFoam.

I got the conditions from the analytical solution and fvSchemes and fvSolution from Cavity tutorial.
My problem is that Courant number keeps growing until explode.

The setup is attached.

Thanks in advance.
Attached Files
File Type: zip placa.zip (5.7 KB, 8 views)
piccinini is offline   Reply With Quote

Old   March 31, 2009, 05:00
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

Here are two test-cases that may help you:
http://openfoamwiki.net/index.php/Ma...leSimple2DFlow
http://openfoamwiki.net/index.php/Bl...Flow_Benchmark

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   March 31, 2009, 20:14
Default
  #3
New Member
 
Join Date: Mar 2009
Location: Sao Jose dos Campos, Brazil
Posts: 29
Rep Power: 17
piccinini is on a distinguished road
Obrigado, Jose Santos!

I've got it to work. I had a problem in the BC and my time step was too high.
piccinini is offline   Reply With Quote

Old   June 4, 2009, 17:07
Default
  #4
Member
 
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 16
sven is on a distinguished road
Hi Rodrigo,

I try to solve the same case and I think I also have some problems with my boundary conditions, especially with the one for the outlet. Could you please post your boundary conditions? That would be great! Thanks a lot!
sven is offline   Reply With Quote

Old   June 5, 2009, 10:17
Default
  #5
Member
 
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 16
svens is on a distinguished road
Hello

I also started with this simple case to collect experiments in OF.

Copied the cavity tutorial and generated new mesh with new BC and initial conditions to solve with icoFoam a 2D channel case.

Now I am wondering - in folder .../case/0/ the dimension definition for pressure p?

-> dimensions [ 0 2 -2 0 0 0 0] -> this is no pressure!?

Anybody an idea about this background?

Thanks & regards
svens is offline   Reply With Quote

Old   June 5, 2009, 10:33
Default
  #6
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

p is the kinematic pressure. If you multiply it by the density, you'll get Pascal units (kg/ms^2).

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   June 5, 2009, 12:19
Default
  #7
New Member
 
Join Date: Mar 2009
Location: Sao Jose dos Campos, Brazil
Posts: 29
Rep Power: 17
piccinini is on a distinguished road
Hello.

You have my setup attached.
Hope it helps.
Attached Files
File Type: zip placa.zip (5.5 KB, 7 views)
piccinini is offline   Reply With Quote

Old   June 5, 2009, 15:51
Default
  #8
Member
 
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 16
sven is on a distinguished road
@santos

O.K. p is the kinematic pressure, I understand this. But what should I do if I don't want to set-up a dynamic pressure but a static pressure? If I just change the dimension, I get an error compiling it, which says, that the dimensions don't match. So, what do I have to do if I want to initialize my flowfield with a static pressure?
sven is offline   Reply With Quote

Old   June 5, 2009, 19:47
Default
  #9
New Member
 
Join Date: Mar 2009
Location: Sao Jose dos Campos, Brazil
Posts: 29
Rep Power: 17
piccinini is on a distinguished road
Hello Sven,

p is the static pressure divided by density (this is what Santos means with kinematic pressure).
You should not change units to set a static pressure, just divide the value by the constant density and set the resulting value.
piccinini 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
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
VOF modelling open channel river flow Matthew Roberts FLUENT 6 July 31, 2009 12:52
Channel flow set up Jung Main CFD Forum 2 November 21, 2007 06:51
Channel flow - Galerkin method Ingo Meisel Main CFD Forum 1 November 15, 2002 05:15
channel flow.. R.D.Prabhu Main CFD Forum 0 July 14, 1998 00:22


All times are GMT -4. The time now is 10:21.