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

BC in a volume

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 520
Rep Power: 19
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: 15
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: 520
Rep Power: 19
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: 520
Rep Power: 19
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


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
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
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 01:05.