CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Help Required With Simple Test Case

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2010, 13:44
Smile Help Required With Simple Test Case
  #1
Member
 
Join Date: Jul 2010
Posts: 37
Rep Power: 16
steph79 is on a distinguished road
Hey everyone,

Firstly while I have several years of experience with Fluent I am completely new to OpenFOAM and have had a hard time getting my head around the framework of the program. If someone could help me set up the following case I would be most grateful!

I want to set up a 500m x 25m 2-D structured mesh with 1m^2 cells as a transient, incompressible case (icoFoam ?) with (in Fluent-speak) a velocity inlet, two periodic faces and a pressure outlet. The velocity inlet has been prescribed with a user-defined function in Fluent and I could use some help implementing this in OpenFOAM also.

Later I will introduce some objects in the flow field and go to 3-D etc. but if I could get some help to start up this simple case asap then that would be great.

Thanks!
steph79 is offline   Reply With Quote

Old   July 30, 2010, 13:55
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,

Your case seems simple to setup in OpenFOAM. The best option to prescribe your user-defined function in the inlet is to use the groovyBC utility that is available in the OpenFOAM wiki.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   July 30, 2010, 14:43
Default
  #3
Member
 
Join Date: Jul 2010
Posts: 37
Rep Power: 16
steph79 is on a distinguished road
Thanks for that tip! Off-topic but I'm doing some cleaning right now as my room is a mess so I'll look into this groovyBC facility tomorrow!

I want to specify fluctuating u and v components though, rather than just an oscillating velocity magnitude normal to the inlet boundary.

I've found this test case...

http://openfoamwiki.net/index.php/Bl...Flow_Benchmark

...which is something like what I'll ultimately be doing. What I'll try and do is go as far as I can on my own modifying this code and when I come across problems I'll hopefully have more specific questions. Thanks again!
steph79 is offline   Reply With Quote

Old   July 31, 2010, 19:58
Smile
  #4
Member
 
Join Date: Jul 2010
Posts: 37
Rep Power: 16
steph79 is on a distinguished road
OK, I've managed to set up the case apart from my inlet BC...

Last edited by steph79; August 3, 2010 at 08:29.
steph79 is offline   Reply With Quote

Old   August 3, 2010, 08:45
Default groovyBC
  #5
Member
 
Join Date: Jul 2010
Posts: 37
Rep Power: 16
steph79 is on a distinguished road
http://www.cfd-online.com/Forums/ope...ent-inlet.html

Last edited by steph79; August 4, 2010 at 13:19. Reason: Problem solved on other topic!
steph79 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
Interfoam Droplet under shear test case adona058 OpenFOAM Running, Solving & CFD 3 May 3, 2010 19:46
Test Case for testing numerical dissipation Flo Main CFD Forum 6 January 25, 2008 13:35
Porous Media test case Alex FLUENT 0 April 9, 2006 09:23
Test Case ganesh Main CFD Forum 0 March 16, 2006 13:34


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