CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Implement fixedIncidentRadiation BC in openfoam4

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2020, 10:02
Default Implement fixedIncidentRadiation BC in openfoam4
  #1
New Member
 
Nicoḷ Morselli
Join Date: Mar 2014
Posts: 2
Rep Power: 0
NicoloMorselli is on a distinguished road
Dear All,


I'm currently running openfoam4 in CAELinux environment.


I set up a simple case of an horizontal channel where air enters from the left and exits from the right. All the walls are adiabatic exepts for the top wall which I set fixedIncidentRadiation BC.
The idea is to setup a channel that heats the air flux by means of an external radiative source.



The solver used is buoyantSimpleFoam.



The problem is that in my openfoam version, fixedIncidentRadiation is not defined and the error that appears is this:


Code:
--> FOAM FATAL IO ERROR: 
Unknown patchField type fixedIncidentRadiation for patch type patch

Valid patchField types are :

112
(
MarshakRadiation
MarshakRadiationFixedTemperature
advective
atmBoundaryLayerInletEpsilon
atmBoundaryLayerInletK
calculated
codedFixedValue
codedMixed
compressible::alphatJayatillekeWallFunction
compressible::alphatWallFunction
compressible::thermalBaffle1D<hConstSolidThermoPhysics>
compressible::thermalBaffle1D<hPowerSolidThermoPhysics>
compressible::turbulentHeatFluxTemperature
compressible::turbulentTemperatureCoupledBaffleMixed
compressible::turbulentTemperatureRadCoupledMixed
convectiveHeatTransfer
cyclic
cyclicACMI
cyclicAMI
cyclicSlip
directionMixed
empty
energyJump
energyJumpAMI
epsilonLowReWallFunction
epsilonWallFunction
externalCoupled
externalCoupledTemperature
externalWallHeatFluxTemperature
extrapolatedCalculated
fWallFunction
fan
fanPressure
fixedEnergy
fixedFluxExtrapolatedPressure
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedPressureCompressibleDensity
fixedProfile
fixedUnburntEnthalpy
fixedValue
freestream
freestreamPressure
gradientEnergy
gradientUnburntEnthalpy
greyDiffusiveRadiation
greyDiffusiveRadiationViewFactor
inletOutlet
inletOutletTotalTemperature
kLowReWallFunction
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mixed
mixedEnergy
mixedUnburntEnthalpy
nonuniformTransformCyclic
nutLowReWallFunction
nutTabulatedWallFunction
nutURoughWallFunction
nutUSpaldingWallFunction
nutUWallFunction
nutkAtmRoughWallFunction
nutkRoughWallFunction
nutkWallFunction
omegaWallFunction
outletInlet
outletMappedUniformInlet
partialSlip
phaseHydrostaticPressure
plenumPressure
porousBafflePressure
prghPressure
prghTotalHydrostaticPressure
prghTotalPressure
processor
processorCyclic
rotatingTotalPressure
sliced
slip
symmetry
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
totalFlowRateAdvectiveDiffusive
totalPressure
totalTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
turbulentMixingLengthDissipationRateInlet
turbulentMixingLengthFrequencyInlet
uniformDensityHydrostaticPressure
uniformFixedGradient
uniformFixedValue
uniformInletOutlet
uniformJump
uniformJumpAMI
uniformTotalPressure
v2WallFunction
variableHeightFlowRate
wallHeatTransfer
waveSurfacePressure
waveTransmissive
wedge
wideBandDiffusiveRadiation
zeroGradient
)


file: /home/nico/Desktop/Muscio-labscale/0/T.boundaryField.ceiling from line 41 to line 44.

    From function static Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New(const Foam::fvPatch&, const Foam::DimensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = double]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-4.1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 134.

FOAM exiting

I tried to follow some tutorials on adding custom BC in openfoam but I failed.
Could you please help me?


Thanks in advance,
Nicoḷ
NicoloMorselli is offline   Reply With Quote

Reply

Tags
fixedincidentradiation, new bc, openfoam4


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to implement a rigid lid aproximation for a 2d flow? Jaydi_21 Main CFD Forum 0 August 1, 2018 14:40
Does any one have experiment to implement a new force in lagrangian OpenFOAM sy2516 OpenFOAM Programming & Development 3 April 18, 2018 03:24
How long did it take you to implement the lid-driven cavity code from scratch? MsKK Main CFD Forum 10 March 11, 2018 05:39
Problems to implement a coordinate change mateusps OpenFOAM 3 September 22, 2011 14:20
implement tangential boundary condition in simple jhuang Main CFD Forum 4 July 10, 2006 05:01


All times are GMT -4. The time now is 18:01.