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

How to use SetField

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 18, 2008, 09:04
Default Hi, at first, thanks for th
  #1
Senior Member
 
Tian
Join Date: Mar 2009
Posts: 101
Rep Power: 8
tian is on a distinguished road
Hi,

at first, thanks for the OF 1.5. Good job!

Back to my problem. I want simulation a tank (3D case) with water. At the begin of my simulation the tank is full of air (Gamme=0). On the top is an inlet patch (Gamma=1), surround of it an atmosphere patch.

My question is: I have to use "SetField" for the inlet patch and how I can use it? I use the solver interFoam.

I thought to write down at the start time 0 in the "gamma" file that inlet has the value Gamma 1 is enough. Is this correct?

Thanks for the help.

Bye
Thomas
__________________
BIM HVACTool
tian is offline   Reply With Quote

Old   May 17, 2009, 15:37
Default
  #2
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 8
mahaputra is on a distinguished road
Quote:
Originally Posted by tian View Post
Hi,

at first, thanks for the OF 1.5. Good job!

Back to my problem. I want simulation a tank (3D case) with water. At the begin of my simulation the tank is full of air (Gamme=0). On the top is an inlet patch (Gamma=1), surround of it an atmosphere patch.

My question is: I have to use "SetField" for the inlet patch and how I can use it? I use the solver interFoam.

I thought to write down at the start time 0 in the "gamma" file that inlet has the value Gamma 1 is enough. Is this correct?

Thanks for the help.

Bye
Thomas
Dear Tian


i have a problem with multiphase flow solver as well.

could you please share for us, how you work with setField or funkySetField on your inlet on interFoam ?


Thanks
mahaputra is offline   Reply With Quote

Old   May 18, 2009, 04:06
Default
  #3
Member
 
Duong A. Hoang
Join Date: Apr 2009
Location: Delft, Netherlands
Posts: 92
Rep Power: 8
duongquaphim is on a distinguished road
Send a message via Yahoo to duongquaphim
Hi,

I am a new with OF as well. For multiphase flow and especially for Tian's problem, I think this tutorial will be very helpful:

- OpenFOAM tutorial: free surface tutorial using interFOAM and rasinterFoam
www.tfd.chalmers.se/~hani/kurser/OS_CFD_2007/HassanHemida/Hassan_Hemida_VOF.pdf

Regards,

Anh Duong
duongquaphim 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
How to use setField to create sphere sega OpenFOAM Pre-Processing 36 February 9, 2013 13:19
SetField problem in OpenFoam 14 joakim OpenFOAM Bugs 17 October 30, 2009 08:18


All times are GMT -4. The time now is 18:42.