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/)
-   -   solidWallMixedTemperatureCoupled and directMappedWall (http://www.cfd-online.com/Forums/openfoam-solving/87679-solidwallmixedtemperaturecoupled-directmappedwall.html)

mirko April 26, 2011 11:04

solidWallMixedTemperatureCoupled and directMappedWall
 
Hi,

To better understand chtMultiRegionSimpleFoam, I built a simple 2-region heat conduction problem (solid/solid) using compressible::turbulentTemperatureCoupledBaffle coupling on the interface. This ran OK.

I then decided to try the solidWallMixedTemperatureCoupled coupling. That was the only change in the input files. Partial output of `git diff':
Code:

          bottomRegion_to_topRegion
            {
-            type            compressible::turbulentTemperatureCoupledBaffle;
+            type            solidWallMixedTemperatureCoupled;
              neighbourFieldName T;
              K              K;
              value          uniform 300;


I now get an error related to directMappedWall that I do not understand.
Code:

--> FOAM FATAL IO ERROR:
Unknown patchField type solidWallMixedTemperatureCoupled for patch type directMappedWall

But OF documentation in solidWallMixedTemperatureCoupledFvPatchScalarField .H states the boundary to be applicable for directMappedWall. The interface boundaries (in constant/regionName/boundary/X_to_Y) are of directMappedWall type.

So, is the documentation incorrect? What should I change the wall type to be?

Thanks,

Mirko

laplacian July 20, 2012 09:48

solidWallMixedTemperatureCoupled and directMappedWall
 
Hi Mirko,
it sems that "solidWallMixedTemperatureCoupled" is no more a valid PachField, at least from OF 2.0.

Valid patchField types are :

86
(
MarshakRadiation
MarshakRadiationFixedT
advective
alphaSgsJayatillekeWallFunction
alphaSgsWallFunction
alphatJayatillekeWallFunction
alphatWallFunction
buoyantPressure
calculated
codedFixedValue
compressible::epsilonWallFunction
compressible::kqRWallFunction
compressible::omegaWallFunction
compressible::temperatureThermoBaffle1D<constSolid ThermoPhysics>
compressible::temperatureThermoBaffle1D<expoSolidT hermoPhysics>
compressible::turbulentHeatFluxTemperature
compressible::turbulentMixingLengthDissipationRate Inlet
compressible::turbulentMixingLengthFrequencyInlet
compressible::turbulentTemperatureCoupledBaffle
compressible::turbulentTemperatureCoupledBaffleMix ed
compressible::turbulentTemperatureRadCoupledMixed
cyclic
cyclicSlip
directMapped
directMappedField
directMappedFixedInternalValue
directMappedFixedPushedInternalValue
directionMixed
empty
externalWallHeatFluxTemperature
fan
fanPressure
fixedEnthalpy
fixedFluxPressure
fixedGradient
fixedInternalEnergy
fixedInternalValue
fixedPressureCompressibleDensity
fixedValue
freestream
freestreamPressure
gradientEnthalpy
gradientInternalEnergy
greyDiffusiveRadiation
greyDiffusiveRadiationViewFactor
htcConvection
inletOutlet
inletOutletTotalTemperature
mixed
mixedEnthalpy
mixedInternalEnergy
muSgsUSpaldingWallFunction
mutLowReWallFunction
mutURoughWallFunction
mutUSpaldingWallFunction
mutUWallFunction
mutkRoughWallFunction
mutkWallFunction
nonuniformTransformCyclic
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
processor
processorCyclic
rotatingTotalPressure
selfContainedDirectMapped
sliced
slip
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
timeVaryingTotalPressure
timeVaryingUniformFixedValue
totalFlowRateAdvectiveDiffusive
totalPressure
totalTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
uniformDensityHydrostaticPressure
uniformFixedValue
wallHeatTransfer
waveTransmissive
wedge
wideBandDiffusiveRadiation
zeroGradient
)

turbulencious July 31, 2012 11:16

hello guys,

I have just been informed from this thread that the BC solidWallMixedTemperatureCoupled is not included in the new OF !!! wow. So what do we use to couple the temperature on boundary between the fluid and the solid regions??
The zeroGradient does not seem to work for my case

I would be grateful for any help. I am quite new with OF and I was reading around about this boundary condition - only to discover now that it does not exist any more!

cordially,
giorgos

laplacian August 6, 2012 12:40

Hi,
don't worry, the BC has just changed the name , now you can choose:
compressible::turbulentTemperatureCoupledBaffle
compressible::turbulentTemperatureCoupledBaffleMix ed


Quote:

Originally Posted by turbulencious (Post 374607)
hello guys,

I have just been informed from this thread that the BC solidWallMixedTemperatureCoupled is not included in the new OF !!! wow. So what do we use to couple the temperature on boundary between the fluid and the solid regions??
The zeroGradient does not seem to work for my case

I would be grateful for any help. I am quite new with OF and I was reading around about this boundary condition - only to discover now that it does not exist any more!

cordially,
giorgos


turbulencious August 8, 2012 04:09

thank you laplacian!

I had some doubts for using this BC in my case because it is laminar and the name of the BC itself suggests that it is for turbulence. Finally I used it and I switched off turbulence at /constant/fluid/*.* files

thanks a lot!

MisterX November 15, 2012 08:30

Hello turbulencious,

thank you very much for the information about the patchFields.

As I am new to OF one question arises to me. How do U get the list of all the patchFields? Is there any trick or did U collect them al l by your own?

Thanks

Markus

MisterX November 15, 2012 08:35

Oh, sorry I just saw that I replied to U turbulencious instead of laplacian ;)
The question is of course adressed at him.

Aurelien Thinat November 15, 2012 08:48

Hi Markus,

This list is an automatic output in case of an error. To get it many foamers use the "magic banana" trick :
Modify the file in the 0 folder (U, p, T... whatever you want to modify) and you specify "type banana" in input. You'll have the list in the log file or in the terminal.

MisterX November 15, 2012 09:55

Hi Aurelien,

Thank Your very much for your swift reply ;)

This Forum is really a good help to get started with OF and any kind of problem one can have.

nandiganavishal February 18, 2013 02:19

Dear Foamers,

I was trying to understand the electric potential distribution between two different mediums of different permittivity. The problem is similar to heat conduction between 2 solids of different conductivity. I am developing a solver similar to chtMultiRegionFoam. I have couple of queries regarding OF boundary conditions,

1. What does "solidwallmixedtemperaturecoupled" or the latest "compressible::turbulentTemperatureCoupledBaffleMi xed" physically mean !! Can you let me know the mathematical equation of this BC.

2. Also, I have to implement the following BC

A1*grad(Phi) .n1 (solid 1) + A2*grad(Phi) .n2 (solid 2) = C

where A1 and A2 are the permittivities in solid 1 and solid 2 resp. n1, n2 are unit vectors directed outward to their respective solids. C is a constant.

Please let me know what type of BC has to be used.

Thanks

Regards

Vishal

cliffdub August 22, 2014 20:23

Quote:

Originally Posted by mirko (Post 305137)
Hi,

To better understand chtMultiRegionSimpleFoam, I built a simple 2-region heat conduction problem (solid/solid) using compressible::turbulentTemperatureCoupledBaffle coupling on the interface. This ran OK.

I then decided to try the solidWallMixedTemperatureCoupled coupling. That was the only change in the input files. Partial output of `git diff':
Code:

          bottomRegion_to_topRegion
            {
-            type            compressible::turbulentTemperatureCoupledBaffle;
+            type            solidWallMixedTemperatureCoupled;
              neighbourFieldName T;
              K              K;
              value          uniform 300;


I now get an error related to directMappedWall that I do not understand.
Code:

--> FOAM FATAL IO ERROR:
Unknown patchField type solidWallMixedTemperatureCoupled for patch type directMappedWall

But OF documentation in solidWallMixedTemperatureCoupledFvPatchScalarField .H states the boundary to be applicable for directMappedWall. The interface boundaries (in constant/regionName/boundary/X_to_Y) are of directMappedWall type.

So, is the documentation incorrect? What should I change the wall type to be?

Thanks,

Mirko

Dear Mirko,

Would it be possible for you to share your "simple 2-region heat conduction problem (solid/solid)" case?

I am having problems learning this: http://www.cfd-online.com/Forums/ope...wo-solids.html

Thank you,
Cliff


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