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

How to use SetField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2008, 10:04
Default Hi, at first, thanks for th
  #1
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17
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, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   May 17, 2009, 16:37
Default
  #2
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17
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, 05:06
Default
  #3
Member
 
Duong A. Hoang
Join Date: Apr 2009
Location: Delft, Netherlands
Posts: 93
Rep Power: 17
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


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
How to use setField to create sphere sega OpenFOAM Pre-Processing 38 January 13, 2022 01:39
SetField problem in OpenFoam 14 joakim OpenFOAM Bugs 17 October 30, 2009 08:18


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