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

Changing BC type

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2011, 00:59
Default Changing BC type
  #1
New Member
 
Apurv
Join Date: May 2011
Posts: 10
Rep Power: 14
apurv is on a distinguished road
Hi All,

Is it possible to change the boundary condition type (like wall, interior etc) during simulation? Can this be specified in the UDF? I intend to have different BC type for certain conditions during simulation.

I would greatly appreciate any suggestions in this regard.

Regards,

Apurv
apurv is offline   Reply With Quote

Old   May 8, 2012, 18:01
Default
  #2
New Member
 
unver
Join Date: Sep 2009
Posts: 10
Rep Power: 16
unver is on a distinguished road
Dear Apruv;
I come across with your post while I was searching, i think, for a similar problem. I 've seen that unfortunately you have not gotten any response to your post, nevertheless I thought that you may have reached a solution.

I am trying to cool a room with a constant temperature wall for a certain time, and than turn that BC off and observe the natural heating of the room. Which require to use constant temperature wall for a certain period of time, and than switch it to a regular wall with no thermals.

Any suggestions may help.

Regards
Unver
unver is offline   Reply With Quote

Old   May 8, 2012, 21:22
Default
  #3
New Member
 
Apurv
Join Date: May 2011
Posts: 10
Rep Power: 14
apurv is on a distinguished road
Hi Unver,

One way would be to turn off the energy equation but then you wont get any temperature data in the entire domain. I would turn the wall into a symmetry boundary condition or make the wall adiabatic, if possible in your case.

Hope this helps.

Apurv
apurv is offline   Reply With Quote

Old   May 9, 2012, 05:19
Default
  #4
New Member
 
engin leblebici
Join Date: May 2011
Posts: 8
Rep Power: 14
engin is on a distinguished road
Dear Apruv,

You should have no diffuculty changing the BC with the GUI, the difficult part about that could be convergence issues. Anyway, you could also define the BCs as you like using DEFINE_PROFILE macro.

Regards
engin is offline   Reply With Quote

Old   May 11, 2012, 09:50
Default
  #5
New Member
 
unver
Join Date: Sep 2009
Posts: 10
Rep Power: 16
unver is on a distinguished road
Dear Apurv and Engin;
Defining a wall temperature (space of time dependent) was not my difficulty at the first place, which can be done DEFINE_PROFILE (as Engin suggested). My difficulty is to change the wall type by UDF (from specified temperature to just a regular wall with no thermal BC attached).

Assume that you have heater surface that you heat your room. Once your room reaches a certain temperature, and you turn it off, and the heater surface cools off naturally (and repeat the process). Must be a way to do it, but I don't know how!
unver is offline   Reply With Quote

Old   May 25, 2012, 05:34
Default
  #6
New Member
 
engin leblebici
Join Date: May 2011
Posts: 8
Rep Power: 14
engin is on a distinguished road
Dear unver,

Sorry for the late reply. I think you can do that but it would not be so easy. My suggestion is to use fluent scripting or GUI to iterate the solution upto the time you turn off your heat generation source (given by temperature distribution) and switch the thermal boundary condition of the wall to convection giving the temperature values of the cells near the wall using a UDF and hooking it to the freestream temperature of the flow. F_T(f,t) macro will provide you the cells temperature values if it is refered to your wall in the UDF.

Regards
engin is offline   Reply With Quote

Old   May 25, 2012, 05:44
Default changing BC type
  #7
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 16
mvee is on a distinguished road
Hi Apurva

It is possible to change the BC type. You can try this with two options:
1) Define the UDF and execute on demand
2) In UDF itself you suggest program to modify your BC. This will be based on your physical time.

Hope this will be useful.

Regards
mvee
mvee 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
second order schemes marine OpenFOAM 67 April 11, 2022 18:19
boundary conditions for simpleFoam calculation foam_noob OpenFOAM Running, Solving & CFD 8 July 1, 2015 08:07
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 07:32
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


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