|
[Sponsors] | |||||
Definition of object registry field for mesh boundary |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Fynn
Join Date: Feb 2016
Posts: 48
Rep Power: 11 ![]() |
Hi together
I want to define a field in the object registry in the same manner as phi is defined for the rhoSimpleFoam solver, in which the density rho*U interpolated to the fv surfaces and multiplied with the respective fv surface size (line 11). Code:
surfaceScalarField phi
(
IOobject
(
"phi",
runTime.timeName(),
mesh,
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
linearInterpolate(rho*U) & mesh.Sf()
);
I.e. how should I change line 11 to apply the calculation to the mesh boundary only? |
|
|
|
|
|
![]() |
| Tags |
| boundary cell, objectregistery, postprocessing mass flow |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
| Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
| Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
| Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |