Skip to content

Eddy dissipation combustion model updated for Openfoam 9

Notifications You must be signed in to change notification settings

GontzalLopez/EDM_openfoam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

EDM_openfoam

Eddy dissipation combustion model updated for Openfoam 9

Copy the whole src directory into user project folder:

foam
cp -r --parents src/combustionModels $WM_PROJECT_USER_DIR
cd $WM_PROJECT_USER_DIR/src/combustionModels

Download the code to the src directory:

git clone https://github.com/GontzalLopez/EDM_openfoam $WM_PROJECT_USER_DIR/src/combustionModels

Add EDM/EDM.C to Make/files using Vim

vim Make/files

Compile:

wmake

In constant/combustionProperties:

/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "constant";
    object      combustionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

combustionModel EDM;

EDMCoeffs
{
    semiImplicit    yes;
    Cdiff	          4.0;
    CEDM            4.0;
}

#include "reaction"
// ************************************************************************* //

About

Eddy dissipation combustion model updated for Openfoam 9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published