Buildings.ThermalZones.Detailed.Examples.FFD.UsersGuide
Information
Introduction
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.
Files for the Coupled Simulation
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:
-
dynamic link files located at
Buildings/Resources/Library:-
Windows:
ffd.dllandffd.lib -
Linux:
libffd.so
-
Windows:
-
FFD input files for simulation parameters, called
*.ffdand located atBuildings/Resources/Data/ThermalZones/Detailed/Examples/FFD/ -
Mesh files
*.cfdand obstacles files*.datgenerated by the programSCI_FFDand located in the same folder as the FFD input files (Buildings/Resources/Data/ThermalZones/Detailed/Examples/FFD/).- The
SCI_FFDprogram is maintained at https://github.com/FastFluidDynamics/Mesh. -
The Mesh files
*.cfdand obstacles files*.datmust be located in the same folder as the FFD input files.
- The
Compiling library 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:
-
On Windows, method 1:
-
Go to
Buildings/Resources/src/FastFluidDynamics/ -
Run
compile.batas administrator
-
Go to
-
On Windows, method 2:
- Open cmd.
-
Change to the directory
Buildings/Resources/src/FastFluidDynamics/ -
type
compile.bat
-
On Linux:
- Open a console.
-
Change to the directory
Buildings/Resources/src/FastFluidDynamics/ -
Type
make all
Extends from Modelica.Icons.Information (Icon for general information packages).