Skip to content
Sourabh Bhat edited this page Feb 19, 2024 · 14 revisions

Welcome to the CFDSolver wiki!

This software is designed to solve a class of system of Partial Differential Equations (PDE) similar to transient Navier-Stokes equations in fluid dynamics. The generic form of such a PDE can be written as:

$$ \frac{\partial W}{\partial t}+\frac{\partial F_{C}}{\partial x}+\frac{\partial G_{C}}{\partial y}+\frac{\partial H_{C}}{\partial z}=\frac{\partial F_{D}}{\partial x}+\frac{\partial G_{D}}{\partial y}+\frac{\partial H_{D}}{\partial z}+S $$

Here, $W$ is the unknown variable vector; $F_C$, $G_C$, $H_C$ are the convective flux vectors; $F_D$, $G_D$, $H_D$ are the diffusive flux vectors; $S$ is the source vector. $t$ is the time variable; $x$, $y$, $z$ are the space variables.

The space has to be divided into parts of required resolution using any meshing software and then converted to the native mesh format. Two mesh file formats are supported.

  1. Structured mesh (1D, 2D and 3D) with file extension .cfds
  2. Unstructured mesh (2D and 3D) with file extension .cfdu

Both file formats support ASCII and BINARY modes for writing the data. The BINARY mode can be used for very large mesh files to save space and file input/output time.

The line ending is indicated using unix style \n character.

In ASCII mode, the percent symbol % can be used for commenting. The text after % symbol, in a line, will be ignored.

In ASCII mode, blank lines are ignored.

Results of lid-driven cavity (Re=100) - Plotted using Paraview:

  • 2 dimensional structured mesh (32x32)

  • 3 dimensional structured mesh (32x32x32)

Animation of vortex shedding in wake of a cylinder:

  • Re: 120

Read Further:

Mesh File Formats
Solver Details

Clone this wiki locally