Skip to content
Snippets Groups Projects
createFields.H 547 B
Newer Older
  • Learn to ignore specific revisions
  • #include "readTransportProperties.H"
    
    
    Info<< "Reading field p\n" << endl;
    volScalarField p
    (
        IOobject
    
            "p",
            runTime.timeName(),
            mesh,
            IOobject::MUST_READ,
            IOobject::AUTO_WRITE
        ),
        mesh
    );
    
    Info<< "Reading field U\n" << endl;
    volVectorField U
    (
        IOobject
    
            "U",
            runTime.timeName(),
            mesh,
            IOobject::MUST_READ,
            IOobject::AUTO_WRITE
        ),
        mesh
    );
    
    #include "createPhi.H"
    
    mesh.setFluxRequired(p.name());
    
    
    #include "readTurbulenceProperties.H"