Skip to content

Latest commit

 

History

History
84 lines (52 loc) · 2.3 KB

case_generator_thermal_fin.adoc

File metadata and controls

84 lines (52 loc) · 2.3 KB

case_generator_thermal_fin

NAME

case_generator_thermal_fin - a tool to generate configuration files for the case thermal fin with Feel++.

SYNOPSIS

python3 case_generator_thermal_fin [OPTIONS]

REQUIREMENT

To run the Python script, you need to install the python-liquid library.

DESCRIPTION

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.

Options

case_generator_thermal_fin requires some options.

Table 1. Table of command-line case_generator_thermal_fin options
Name Description Default value

-h, --help

show help message and exit

--N N

number of fins

4

--L L

width of a fin

2.5

--d D

distance between two fins

0.5

--t T

thickness of a fin

0.25

--dim DIM

dimension of the case (2 or 3)

2

--cylinder CYLINDER

shape of fin and post (0=boxes, 1=box/cylinders, 2=cylinders)

0

--odir PATH

output directory

.

Description of the case and the parameters

thermal fin

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

0

Post and fins are boxes

1

Post is a box and the fins are cylinders of radius t (so the parameter P is not used here)

2

Post and fins are cylinders of raduis t

SEE ALSO

Feel++ Book: http://docs.feelpp.org

COPYING

Copyright (C) 2017-2021 Feel++ Consortium.
Free use of this software is granted under the terms of the GPLv3 License.