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

Help Required With Simple Test Case

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 30, 2010, 12:44
Smile Help Required With Simple Test Case
  #1
Member
 
Adam James
Join Date: Jul 2010
Posts: 36
Rep Power: 7
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, 12:55
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
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, 13:43
Default
  #3
Member
 
Adam James
Join Date: Jul 2010
Posts: 36
Rep Power: 7
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, 18:58
Smile
  #4
Member
 
Adam James
Join Date: Jul 2010
Posts: 36
Rep Power: 7
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 07:29.
steph79 is offline   Reply With Quote

Old   August 3, 2010, 07:45
Default groovyBC
  #5
Member
 
Adam James
Join Date: Jul 2010
Posts: 36
Rep Power: 7
steph79 is on a distinguished road
Programming of fluctuating two-component inlet

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

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interfoam Droplet under shear test case adona058 OpenFOAM Running, Solving & CFD 3 May 3, 2010 18:46
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 8 March 12, 2008 05:58
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 08:23
Test Case ganesh Main CFD Forum 0 March 16, 2006 13:34


All times are GMT -4. The time now is 04:17.