CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Baffle Nozzle Flow Error Help

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 5, 2012, 17:45
Default Baffle Nozzle Flow Error Help
  #1
New Member
 
Join Date: Mar 2012
Posts: 27
Rep Power: 4
tomloh is on a distinguished road
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 is offline   Reply With Quote

Old   July 17, 2012, 18:27
Default
  #2
New Member
 
Join Date: Mar 2012
Posts: 27
Rep Power: 4
tomloh is on a distinguished road
Hi all,

The error to my problem was the directMappedWall class has been changed in OF2.1.x to mappedWall
tomloh is offline   Reply With Quote

Old   April 16, 2013, 21:14
Default More explanation?
  #3
New Member
 
Jeff Cumpston
Join Date: Oct 2011
Posts: 8
Rep Power: 5
Jeffzda is on a distinguished road
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
Jeffzda is offline   Reply With Quote

Old   February 6, 2014, 06:49
Default
  #4
New Member
 
ksengupta
Join Date: Dec 2009
Posts: 1
Rep Power: 0
kou1shik is on a distinguished road
Quote:
Originally Posted by Jeffzda View Post
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.
kou1shik is offline   Reply With Quote

Old   June 17, 2014, 11:05
Default
  #5
New Member
 
hyacinthe
Join Date: Apr 2014
Posts: 1
Rep Power: 0
hyac is on a distinguished road
Quote:
Originally Posted by Jeffzda View Post
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
hyac is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flow meter Design CD adapco Group Marketing CD-adapco 3 June 21, 2011 09:33
3D-Simulation of Water Flow From Nozzle into Air Navin Sampath FLOW-3D 2 February 26, 2009 11:46
Flow pattern in a Nozzle sean Main CFD Forum 0 February 2, 2009 05:36
NEED HELP! Flow through nozzle vanes with clerance C K Tang NUMECA 2 July 29, 2003 14:07
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 13:19


All times are GMT -4. The time now is 02:44.