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

BC in a volume

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 24, 2012, 06:04
Default BC in a volume
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear all,

I am trying to set a BC in a volume and not on a surface. In other words, I want that a certain volume in my domain has a certain fixed temperature. Of course, this condition is much stronger than imposing the temperature on the surface, isn't it?

Do you have an idea if it is possible (if yes, could you tell me how, please) do what I would like to do?

Thanks a lot,

Samuele
samiam1000 is offline   Reply With Quote

Old   February 24, 2012, 07:27
Default
  #2
Member
 
Laurens Van Dyck
Join Date: Jul 2011
Location: Netherlands/Germany
Posts: 34
Rep Power: 5
laurensvd is on a distinguished road
You could modify your solver by adding some lines that checks the position of a cell
If that cell is then in the region you want it overwrite the calculated value with your own fixed value.
laurensvd is offline   Reply With Quote

Old   February 24, 2012, 07:30
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Actually, I am reading about the setValues function that is available in OpenFOAM.
In fact I know the label of the cells I want to fix the value in.

Do you know something about this?

Thanks a lot,

Samuele
samiam1000 is offline   Reply With Quote

Old   February 24, 2012, 10:17
Default
  #4
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Also, I forgot to write that I am running OF 2.0 and am using the solver buoyantSimpleFoam.

Furthermore, I can not und which is the righ file to edit. I checked this thread, too. But I can't find the right file to edit.

Could you help?

Thanks a lot,

Samuele
samiam1000 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 set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


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