|
[Sponsors] |
March 31, 2016, 09:50 |
chtMultiRegionSimpleFoam: varying Kappa
|
#1 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
I need to subdivide the solid regions into volumes with different isotropic conductivities.(kappa) (already at 13 regions with a potential 70 subregions) I was looking at scalarsemimplicitsource or vectorsemimplicitsource.
anyone done it this way? is there another approach? regards Derek
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
March 31, 2016, 14:42 |
|
#2 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Hi Derek,
It probably depends a bit on what you are trying to achieve. However, why not just create discrete regions in your geometry, mesh it, and assign properties as normal? Kind regards, Peter |
|
March 31, 2016, 15:41 |
|
#3 | |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
Quote:
13 is bad enough
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
||
March 31, 2016, 17:24 |
|
#4 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Hello,
Well, the meshing is straightforward and a simple script can take care the constant files and BCs. :-) Alternatively, you could modify and roll your own solidThermo library with kappa as a field variable (i.e., one that you could set per cell in the mesh). If it were me, I would just take an hour and do the former, but then that's the beauty of open source - lots of ways to solve problems! Good luck! Peter |
|
April 1, 2016, 04:22 |
|
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
kappa is a volScalarField read from an input file, right? Then you can work with topoSet and setFields to define it.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trouble with kappa lookup | cal25 | OpenFOAM Pre-Processing | 3 | March 12, 2021 15:46 |
Time Varying Mixed Value Non-uniform BC implementation | engin | OpenFOAM Programming & Development | 0 | September 4, 2015 16:35 |
space and time varying conditions | laurentD | OpenFOAM Running, Solving & CFD | 0 | July 28, 2015 12:34 |
Temporal and spatially varying temperature udf | avi@lpsc | Fluent UDF and Scheme Programming | 0 | August 24, 2013 06:43 |
Time Varying BC | A.S. | Siemens | 1 | January 31, 2005 07:37 |