CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Baffle Nozzle Flow Error Help (http://www.cfd-online.com/Forums/openfoam-solving/104273-baffle-nozzle-flow-error-help.html)

tomloh July 5, 2012 16:45

Baffle Nozzle Flow Error Help
 
Hi Foamers,

I'm still reasonably knew to OpenFOAM and I was wondering if someone would be able to help me out. I am simulating nozzle flow and the heat transfer across the nozzle wall. I have complied a knew solver, by introducing Baffle to rhoSimpleFoam. I have the following error when running my solver:

Error:
--> FOAM FATAL ERROR:

patch type 'genericPatch' not type 'mappedPatchBase'
for patch wall_4 of field T in file "/home/tom/OpenFOAM/tom-2.1.1/run/fyp/heatTransfer/baffle/testNozzle/0/T"

From function temperatureThermoBaffle1DFvPatchScalarField::tempe ratureThermoBaffle1DFvPatchScalarField
(
const fvPatch& p,
const DimensionedField<scalar, volMesh>& iF,
const dictionary& dict
)

in file derivedFvPatchFields/temperatureThermoBaffle1D/temperatureThermoBaffle1DFvPatchScalarField.C at line 104.

FOAM exiting
Any help that anyone could offer would be greatly appreciated.

Thanks,
Thomas

tomloh July 17, 2012 17:27

Hi all,

The error to my problem was the directMappedWall class has been changed in OF2.1.x to mappedWall

Jeffzda April 16, 2013 20:14

More explanation?
 
Hi Tomloh,

I'm trying to simulate radiative heat transfer in my OpenFOAM simulation. I am trying to use viewFactorsGen utility. This utility is designed to calculate radiative view factors between surfaces, by only if they have the greyDiffusiveRadiationViewFactor boundary condition set in the 0/Qr file. I know that explanation is very particular to my problem, but I'm trying to set the scene.

When I run viewFactorsGen, it gives me the error:

Code:

--> FOAM FATAL IO ERROR:

    patch type 'genericPatch' not type 'mappedPatchBase'
    for patch cavity_inside_back

file: /home/jeff/OpenFOAM_workspace/radiation/0/Qr::boundaryField::cavity_inside_back from line 36 to line 19.

    From function radiationCoupledBase::radiationCoupledBase
(
    const fvPatch& p,
    const dictionary& dict
)

    in file derivedFvPatchFields/radiationCoupledBase/radiationCoupledBase.C at line 92.

FOAM exiting

which is identical to the one that you had with your solver. So my question is, how did you find the solution to your problem? At the moment, I had changed the 'type' in the polyMesh/boundary file to be 'mappedPatchBase' for all the surfaces that I want viewFactorsGen to work on before getting this errors message. These surfaces coincide with the surfaces that have that radiative boundary condition in the 0/Qr file I mentioned above.

I fall short in my understanding of what a 'mappedPatchBase' boundary is. I think it is a trivial move to change the type in the boundary file. I think the name implies that something has to be mapped, possibly by an openfoam utility, but I don't understand what this mapping is.

I will also post this as a new thread, but I thought seeing as you had the same error message, albeit in quite different circumstances, you may be able to provide some insight into the problem.

Cheers,

Jeff

kou1shik February 6, 2014 06:49

Quote:

Originally Posted by Jeffzda (Post 421075)
Hi Tomloh,

I'm trying to simulate radiative heat transfer in my OpenFOAM simulation. I am trying to use viewFactorsGen utility. This utility is designed to calculate radiative view factors between surfaces, by only if they have the greyDiffusiveRadiationViewFactor boundary condition set in the 0/Qr file. I know that explanation is very particular to my problem, but I'm trying to set the scene.

When I run viewFactorsGen, it gives me the error:

Code:

--> FOAM FATAL IO ERROR:

    patch type 'genericPatch' not type 'mappedPatchBase'
    for patch cavity_inside_back

file: /home/jeff/OpenFOAM_workspace/radiation/0/Qr::boundaryField::cavity_inside_back from line 36 to line 19.

    From function radiationCoupledBase::radiationCoupledBase
(
    const fvPatch& p,
    const dictionary& dict
)

    in file derivedFvPatchFields/radiationCoupledBase/radiationCoupledBase.C at line 92.

FOAM exiting

which is identical to the one that you had with your solver. So my question is, how did you find the solution to your problem? At the moment, I had changed the 'type' in the polyMesh/boundary file to be 'mappedPatchBase' for all the surfaces that I want viewFactorsGen to work on before getting this errors message. These surfaces coincide with the surfaces that have that radiative boundary condition in the 0/Qr file I mentioned above.

I fall short in my understanding of what a 'mappedPatchBase' boundary is. I think it is a trivial move to change the type in the boundary file. I think the name implies that something has to be mapped, possibly by an openfoam utility, but I don't understand what this mapping is.

I will also post this as a new thread, but I thought seeing as you had the same error message, albeit in quite different circumstances, you may be able to provide some insight into the problem.

Cheers,

Jeff

I know I am asking quite late. But did you manage to solve your problem.

hyac June 17, 2014 10:05

Quote:

Originally Posted by Jeffzda (Post 421075)
Hi Tomloh,

I'm trying to simulate radiative heat transfer in my OpenFOAM simulation. I am trying to use viewFactorsGen utility. This utility is designed to calculate radiative view factors between surfaces, by only if they have the greyDiffusiveRadiationViewFactor boundary condition set in the 0/Qr file. I know that explanation is very particular to my problem, but I'm trying to set the scene.

When I run viewFactorsGen, it gives me the error:

Code:

--> FOAM FATAL IO ERROR:

    patch type 'genericPatch' not type 'mappedPatchBase'
    for patch cavity_inside_back

file: /home/jeff/OpenFOAM_workspace/radiation/0/Qr::boundaryField::cavity_inside_back from line 36 to line 19.

    From function radiationCoupledBase::radiationCoupledBase
(
    const fvPatch& p,
    const dictionary& dict
)

    in file derivedFvPatchFields/radiationCoupledBase/radiationCoupledBase.C at line 92.

FOAM exiting

which is identical to the one that you had with your solver. So my question is, how did you find the solution to your problem? At the moment, I had changed the 'type' in the polyMesh/boundary file to be 'mappedPatchBase' for all the surfaces that I want viewFactorsGen to work on before getting this errors message. These surfaces coincide with the surfaces that have that radiative boundary condition in the 0/Qr file I mentioned above.

I fall short in my understanding of what a 'mappedPatchBase' boundary is. I think it is a trivial move to change the type in the boundary file. I think the name implies that something has to be mapped, possibly by an openfoam utility, but I don't understand what this mapping is.

I will also post this as a new thread, but I thought seeing as you had the same error message, albeit in quite different circumstances, you may be able to provide some insight into the problem.

Cheers,

Jeff

Hi kou1shik
please can you help me to resolve my problem when i run the pisofoam i have this error

--> FOAM FATAL IO ERROR: patch type 'genericPatch' not type 'mappedPatchBase'
for patch inlet of field U in file "home/numeric/OpenFOAM/numeric-2.0.0/run/intership


All times are GMT -4. The time now is 09:37.