MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
flowRateExact.C File Reference
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <fstream>

Go to the source code of this file.

Functions

double flowRate (const double D, const double rho0, const double p0, const double p2Byp0)
 
int main (int argc, char *argv[])
 

Detailed Description

This code calculates the flowRate through a nozzle as a function of the diameter, density and pressure upstream and pressure downstream. It uses expressions from VDI Waermeatlas Lbd 4

In the simple twoTank example, this piece of code stands for a complex microscopic code - such as full 3D CFD simulation.

Author
Henrik Rusche

Definition in file flowRateExact.C.