Follow SedFOAM on Twitter SedFOAM on github
Getting started

Table of Contents

The executable sedFoam_rbgh is the main program that allows to launch a computation.

This page gives some practical details about the computation set-up and the input/output files.

Running a case

A computation is run in a case_directory that contains several sub-folders and files:

  • constant directory: contains the description of the mesh in the subdirectory polyMesh and files specifying physical properties for the application concerned, e.g. transportProperties.
  • system directory: contains the setting parameters associated with the solution procedure. It contains at least the following 3 files: controlDict where run control parameters are set including start/end time, time step and parameters for data output; fvSchemes where discretisation schemes used in the solution may be selected at run-time; and, fvSolution where the equation solvers, tolerances and other algorithm controls are set for the run.
  • The ‘time’ directories containing variable fields, like velocity, pressure, TKE, etc... in separated files, one file per variable. Each file contains internal field values and boundary field conditions and values. The name of each time directory is based on the simulated time at which the data is written.

The system folder also contains dictionary files allowing to set complex initial conditions (funkySetFieldsDict), decompose the numerical domain for parrallel computations (decomposeParDict) for example. We usually use a 0_org folder with uniform fields distribution before using funkySetFields to be able to rerun easily the utilty.

More detailed informations can be found here. The specific SedFoam input files will be described in the tutorial section.

Go to the next section or return to the index.