case_generator_thermal_fin - a tool to generate configuration files for the case thermal fin
with Feel++.
To run the Python script, you need to install the python-liquid
library.
case_generator_thermal_fin
is an application which generates
-
a geometry associted to the case described below,
-
the JSON model file associated,
-
the config file to run the toolbox mor on this case, or the toolbox heat,
-
the JSON CRB model file associated.
case_generator_thermal_fin requires some options.
Name | Description | Default value |
---|---|---|
|
show help message and exit |
|
|
number of fins |
4 |
|
width of a fin |
2.5 |
|
distance between two fins |
0.5 |
|
thickness of a fin |
0.25 |
|
dimension of the case (2 or 3) |
2 |
|
shape of fin and post (0=boxes, 1=box/cylinders, 2=cylinders) |
0 |
|
output directory |
|
Here are the parameters that stans for both 2D and 3D cases.
-
\$N\$ is the number of fins in the geometry (here, \$N=4\$),
-
\$L\$ is the width of a fin,
-
\$t\$ is the height of it,
-
\$d\$ is the distance between two fins
The following parameters are specific to the 3D case :
-
cylinder
: set the shape of the central post and of the fins :
value | Description |
---|---|
|
Post and fins are boxes |
|
Post is a box and the fins are cylinders of radius |
|
Post and fins are cylinders of raduis |
Feel++ Book: http://docs.feelpp.org