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

Constant Heat Flux Boundary Condition on Long Thin Pipe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2013, 09:05
Default Constant Heat Flux Boundary Condition on Long Thin Pipe
  #1
New Member
 
Join Date: Mar 2013
Posts: 2
Rep Power: 0
CGramlich is on a distinguished road
I am having difficulty applying a heat flux boundary condition on a turbulent thin pipe flow. My guess would be to start with the CUSTOM_MARKER, but still no avail for this tactic. Any other suggestions, or maybe a tutorial on how to make a constant heat flux boundary condition using the CUSTOM_MARKER?
CGramlich is offline   Reply With Quote

Old   April 15, 2013, 17:45
Default
  #2
Member
 
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 13
copeland is on a distinguished road
Hi CGramlich,

I think your suggestion of a custom boundary condition tutorial is an excellent one. The development team is aware of the lack of instruction on implementing new features in the code and are working on some tutorials geared more toward developers. Stay tuned for more updates on that front.

Indeed, your idea of starting at the CUSTOM_MARKER is the best approach to implement a constant heat flux boundary condition. Both the Laminar NS and RANS equations are child classes of the Euler class, so you can perform your implementation of the custom boundary condition in

CEulerSolution::BC_Custom(CGeometry *geometry, CSolution **solution_container, CNumerics *solver, CConfig *config, unsigned short val_marker)

located in the solution_direct_mean.cpp file of SU2_CFD.

Go ahead and delete whatever contents may already be in the BC_Custom routine and copy the contents of the following routine into BC_Custom:

CNSSolution::BC_NS_Wall(CGeometry *geometry, CSolution **solution_container, CNumerics *solver, CConfig *config, unsigned short val_marker)

This is an implementation of an adiabatic wall condition, a subset of the constant heat flux condition that you require. Simply add the contribution to the Viscous residual (and include the proper terms in the Jacobian if you're performing an implicit calculation) and you should be successful. You can examine the Isothermal wall boundary condition:

CNSSolution::BC_Isothermal_Wall(CGeometry *geometry, CSolution **solution_container, CNumerics *solver, CConfig *config, unsigned short val_marker)

for an example of this methodology if it's helpful.

Hope that's helpful, and please let me know if you continue to have difficulty. As I mentioned, please stay tuned for updates on developer tutorials. Thanks.


Regards,
Sean
copeland is offline   Reply With Quote

Old   April 18, 2013, 17:27
Default
  #3
Member
 
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 13
copeland is on a distinguished road
So a quick update on this -- the development team is re-structuring and re-organizing the no-slip wall boundary conditions to enable both isothermal and specified constant heat-fluxes. We are currently validating the implementations, and unfortunately they are not available in the development source released today (v2.0.3), but they should be in place for the next development release next month (v2.0.4). If you would like more details, please feel free to follow up with me, or any of the developers.
copeland is offline   Reply With Quote

Old   April 22, 2013, 09:25
Default
  #4
New Member
 
Join Date: Mar 2013
Posts: 2
Rep Power: 0
CGramlich is on a distinguished road
Yes, I would very much like to continue this conversation when the new version of the code is available for download next month. Thank you for the previous response as well.
CGramlich 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
Boundary Condition for heat flux changing by time vainilreb OpenFOAM Pre-Processing 0 January 22, 2013 14:13
CFX13 Post Periodic interface EtaEta CFX 7 December 8, 2011 18:15
Heat Flux Wall Boundary Confusion. Joee FLUENT 1 August 21, 2010 13:20
constant heat flux boundary condition Andrew Hayes Main CFD Forum 4 February 19, 2006 14:54
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


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