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

Spatially varying wall temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2019, 16:01
Default Spatially varying wall temperature
  #1
New Member
 
John W Daily
Join Date: Sep 2014
Posts: 6
Rep Power: 11
daily is on a distinguished road
I need to run a channel flow simulation where the wall temperature varies along the length of the channel. I suppose I could chop up the wall into short segments and impose different temperature on each segment, although that doesn't seem every satisfactory. Anyone have an easier solution? What would be nice is to be able to provide a spline or other fit to the whole wall without changing the mesh.
daily is offline   Reply With Quote

Old   February 6, 2019, 04:30
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
There seems to be the possibility of reading data from a file for the fixedValue BC
Code:
  inlet 
  { 
      type         uniformFixedValue; 
      uniformValue 
      { 
          type             tableFile; 
          file             "dataTable.txt"; 
      } 
  }
Link: https://cfd.direct/openfoam/user-guide/v6-boundaries/


But i've never tried it.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   February 6, 2019, 08:06
Default
  #3
Member
 
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 13
gkarlsen is on a distinguished road
AFAIK uniformFixedValue deals with variation over time, not spatial variation? I think groovyBC would be good for what you are trying do do. More specifically the pos().x, pos().y and pos().z functions.

http://openfoamwiki.net/index.php/Contrib/groovyBC
gkarlsen is offline   Reply With Quote

Reply

Tags
wall bcs


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Is wall ajacent temperature equal to conservative temperature of the wall? shenying0710 CFX 8 January 4, 2013 04:03
[ICEM] Export ICEM mesh to Gambit / Fluent romekr ANSYS Meshing & Geometry 1 November 26, 2011 12:11


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