For an introduction to the coupled simulation and for detailed information on Buildings.ThermalZones.Detailed.CFD, please refer to Buildings.ThermalZones.Detailed.UsersGuide.CFD. For a step by step guide on performing the coupled simulation, please refer to Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.
The source code of the FFD program is located at Buildings/Resources/src/FastFluidDynamics
.
The Buildings
library contains precompiled versions of this source
code in the subdirectories of Buildings/Resources/Library
.
To run the coupled simulation with FFD, the following files are needed and
provided in the Buildings
library:
Buildings/Resources/Library
:
ffd.dll
and ffd.lib
libffd.so
*.ffd
and
located at Buildings/Resources/Data/ThermalZones/Detailed/Examples/FFD/
*.cfd
and obstacles files *.dat
generated by the program SCI_FFD
and located
in the same folder as the FFD input files (Buildings/Resources/Data/ThermalZones/Detailed/Examples/FFD/
).
SCI_FFD
program is maintained
at https://github.com/FastFluidDynamics/Mesh.
*.cfd
and obstacles files *.dat
must
be located in the same folder as the FFD input files.
The FFD program can be compiled into a dlls using Microsoft Visual Studio
Express in Windows and gcc in Linux. Compiled files are distributed
with the Buildings
library.
If you want to compile the files yourself, proceed as follows:
Buildings/Resources/src/FastFluidDynamics/
compile.bat
as administrator
Buildings/Resources/src/FastFluidDynamics/
compile.bat
Buildings/Resources/src/FastFluidDynamics/
make all