|
[Sponsors] |
February 4, 2019, 16:01 |
Spatially varying wall temperature
|
#1 |
New Member
John W Daily
Join Date: Sep 2014
Posts: 6
Rep Power: 11 |
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.
|
|
February 6, 2019, 04:30 |
|
#2 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
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"; } } But i've never tried it.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|
February 6, 2019, 08:06 |
|
#3 |
Member
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 13 |
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 |
|
Tags |
wall bcs |
|
|
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 |