Architecture
This section describes the ./ZephyCFD-Core
folder for the various flavours.
In this folder, we find:
Runners
Note
We have one runner for each step of the modeling chain (starting with zephycfd).
We also have runners running the all steps in a row.
Documentation
./doc folder gathers the documentation within a set of markdown files.
Note
It also includes the configuration script to allow for installing the dependencies, as well as the licence terms.
Sources
./src folder gathers the whole set of programs, data, file templates (...) that may be used during a run execution.
Main programs
Note
There is a main program for each step of the modeling chain.
Info
These programs first execute their process, and then call for their corresponding drawing and reporting programs.
Drawing programs
Reporting programs
Sub-programs
Common variables and functions
Folder src/db_ini
This folder is the initial state of the local database.
Info
It is transferred to the final database location if the database folder is not found (usually, when the tool is run for the first time).
Database folder is ./ZephyCFD-Core/db/
.
db_ini/
├── foam_config
│ ├── fvSchemes
│ │ ├── fvSchemes_fast
│ │ ├── fvSchemes_normal
│ │ ├── fvSchemes_robust
│ │ └── fvSchemes_solid
│ ├── fvSolution
│ │ ├── fvSolution_canopy
│ │ ├── fvSolution_simplec_gamg_fast
│ │ ├── fvSolution_simplec_gamg_normal
│ │ ├── fvSolution_simplec_gamg_robust
│ │ ├── fvSolution_simplec_gamg_solid
│ │ ├── fvSolution_simplec_pcg_fast
│ │ ├── fvSolution_simplec_pcg_normal
│ │ ├── fvSolution_simplec_pcg_robust
│ │ ├── fvSolution_simplec_pcg_solid
│ │ ├── fvSolution_simplec_pcg_solid2
│ │ ├── fvSolution_simple_gamg_fast
│ │ ├── fvSolution_simple_gamg_normal
│ │ ├── fvSolution_simple_gamg_robust
│ │ └── fvSolution_simple_gamg_solid
│ └── turbulenceProperties
│ ├── turbulenceProperties_keps
│ ├── turbulenceProperties_keps_mod1
│ ├── turbulenceProperties_kl
│ ├── turbulenceProperties_krea
│ └── turbulenceProperties_krng
├── topo
│ └── .keep
└── turbines
├── gw.ztg
├── SG114_3.05MW_63m.ztg
├── SG145.ztg
└── WTG-20-232m.ztg
Folder src/parameters
parameters
├── color_list
├── georef
├── georef_i
├── glc15_code2name.json
├── glc15.json
├── glc15_name2rou.json
├── glc17_code2name.json
└── glc17_name2rou.json
Folder src/templates
templates/
├── cases
│ ├── cfd
│ │ ├── extra_inputs/
│ │ ├── inp_project
│ │ ├── inp_references
│ │ ├── inp_turbines
│ │ └── param.ini
├── foam
│ ├── ABLConditions
│ ├── Cd
│ ├── controlDict
│ ├── decomposeParDict
│ ├── epsilon
│ ├── fvOptions
│ ├── fvSchemes
│ ├── fvSolution
│ ├── initialConditions
│ ├── k
│ ├── LAD
│ ├── mapFieldsDict
│ ├── mapFieldsParDict
│ ├── nut
│ ├── p
│ ├── sampleDict
│ ├── setFieldsDict
│ ├── topoSetDict
│ ├── transportProperties
│ └── U
└── latex
├── company_logo.png
├── dwg.png
├── init.tex
├── missing.png
├── packages.tex
├── Poppins-Medium.ttf
├── project_cover.png
├── template.tex
└── zs.png