faMeshWriteVTK.H File Reference

Go to the source code of this file.

Functions

writer writeGeometry ()
 
globalIndex procAddr (aMesh.nFaces())
 
 if (Pstream::master())
 
writer beginCellData (4)
 
writer writeProcIDs ()
 
writer write ("cellID", cellIDs)
 
writer write ("area", aMesh.S().field())
 
writer write ("normal", aMesh.faceAreaNormals())
 
writer beginPointData (1)
 
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld (faMeshTools::flattenEdgeField(aMesh.magLe(), true))
 
writer write ("magLe", fld)
 
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.edgeCentres(), edgeList::null(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edgesCentres"));writer.writeGeometry();writer.beginPointData(4);{ Field< vectorfld (faMeshTools::flattenEdgeField(aMesh.Le(), true))
 
writer write ("Le", fld)
 
writer write ("normal", fld)
 

Variables

labelList cellIDs
 

Detailed Description

Original source file faMeshWriteVTK.H

Definition in file faMeshWriteVTK.H.

Function Documentation

◆ writeGeometry()

writer writeGeometry ( )

Referenced by abaqusWriter::write(), nastranWriter::write(), FIREMeshWriter::write(), ensightWriter::writeCollated(), abaqusWriter::writeTemplate(), nastranWriter::writeTemplate(), and ensightWriter::writeUncollated().

Here is the caller graph for this function:

◆ procAddr()

globalIndex procAddr ( aMesh.  nFaces())

◆ if()

if ( Pstream::master()  )

Definition at line 44 of file faMeshWriteVTK.H.

References cellIDs, procAddr(), and range.

Here is the call graph for this function:

◆ beginCellData()

writer beginCellData ( )

Referenced by lagrangianWriter::beginParcelData().

Here is the caller graph for this function:

◆ writeProcIDs()

writer writeProcIDs ( )

◆ write() [1/6]

writer write ( "cellID"  ,
cellIDs   
)

◆ write() [2/6]

writer write ( "area"  ,
aMesh.  S).field( 
)

◆ write() [3/6]

writer write ( "normal"  ,
aMesh.  faceAreaNormals() 
)

◆ beginPointData()

writer beginPointData ( )

Referenced by lagrangianWriter::beginParcelData().

Here is the caller graph for this function:

◆ fld() [1/2]

Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer( aMesh.points(), aMesh.edges(), fileName( aMesh.mesh().time().globalPath()/"finiteArea-edges")); writer.writeGeometry(); writer.beginCellData(4); writer.writeProcIDs(); { Field< scalar > fld ( faMeshTools::flattenEdgeField(aMesh.magLe(), true)  )

Referenced by isoSurfacePoint::adaptPatchFields(), scene::addColourToMesh(), object::addData(), scene::addField(), scene::addFieldToMesh(), scene::addMesh(), windowModel::apply(), parseDriver::areaAverage(), parseDriver::areaSum(), face::average(), triFace::average(), motionSmootherAlgo::avg(), surfaceFieldValue::canWeight(), volFieldValue::canWeight(), dynamicOversetFvMesh::checkCoupledBC(), Foam::checkMethod(), extendedCentredCellToFaceStencil::collectData(), extendedCentredFaceToCellStencil::collectData(), extendedCentredCellToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), extendedFaceToCellStencil::collectData(), vtuAdaptor::convertField(), Foam::vtk::Tools::convertFieldToVTK(), coordinateScaling< scalar >::coordinateScaling(), dynamicOversetFvMesh::correctCoupledBoundaryConditions(), fvExprDriver::correctField(), IntegralScaleBox< Type >::correlate(), cellCellStencil::createField(), nearWallFields::createFields(), distanceSurface::createGeometry(), cyclicACMIFvPatchField< Type >::cyclicACMIFvPatchField(), lagrangianFieldDecomposer::decomposeFieldFields(), dimFieldDecomposer::decomposeFields(), fvFieldDecomposer::decomposeFields(), pointFieldDecomposer::decomposeFields(), lagrangianFieldDecomposer::decomposeFields(), mappedPatchFieldBase< Type >::distribute(), mapDistribute::distribute(), faMeshDistributor::distributeAreaField(), faMeshDistributor::distributeEdgeField(), faMeshDistributor::distributeField(), faMeshBoundaryHalo::distributeSparse(), dynamicRefineFvMesh::error(), Foam::evaluateConstraintTypes(), exprResult::exprResult(), parseDriver::field_cellSelection(), parseDriver::field_faceSelection(), parseDriver::field_pointSelection(), faMeshTools::flattenEdgeField(), for(), globalIndex::gather(), externalCoupled::gatherAndCombine(), particleTracksSampler::gatherInplace(), globalIndex::gatherInplace(), globalIndex::gatherInplaceOp(), fvMeshDistribute::generateTestField(), globalIndex::get(), triSurfaceMesh::getField(), distributedTriSurfaceMesh::getField(), surfaceFieldValue::getFieldValues(), decompositionConstraint::getMinBoundaryValue(), exprResult::getReduced(), coalCloudList::hsTrans(), if(), mappedPatchFieldBase< Type >::initRetrieveField(), FieldFunction1< Function1Type >::integrate(), lduPrimitiveProcessorInterface::interfaceInternalField(), cyclicACMIFvPatch::interpolate(), cyclicAMIPolyPatch::interpolate(), cyclicAMIFvPatch::interpolate(), pointToPointPlanarInterpolation::interpolate(), fvMeshSubsetProxy::interpolate(), faMeshSubset::interpolate(), fvMeshSubset::interpolate(), surfaceInterpolate::interpolateFields(), isoSurfaceTopo::interpolateTemplate(), AMIInterpolation::interpolateToSource(), AMIInterpolation::interpolateToTarget(), cyclicAMIPolyPatch::interpolateUntransformed(), interpolationTable< Type >::interpolateValues(), Foam::invTransform(), epsilonWallFunctionFvPatchScalarField::manipulateMatrix(), omegaWallFunctionFvPatchScalarField::manipulateMatrix(), fvMeshAdder::MapDimFields(), mappedPatchFieldBase< Type >::mappedField(), mappedPatchFieldBase< scalar >::mappedPatchFieldBase(), mappedPatchFieldBase< scalar >::mappedWeightField(), mappedPatchFieldBase< scalar >::mapper(), fvMeshAdder::MapSurfaceField(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolFields(), surfaceWriter::mergeFieldTemplate(), codedPoints0MotionSolver::movePoints(), globalIndex::mpiGatherInplace(), globalIndex::mpiGatherInplaceOp(), cyclicFvPatchField< Type >::neighbourPatchField(), cyclicACMIFvPatchField< Type >::neighbourPatchField(), cyclicAMIFvPatchField< Type >::neighbourPatchField(), cyclicACMIFvPatchField< Type >::nonOverlapPatchField(), FieldMapper::operator()(), mapDistribute::transformPosition::operator()(), transformOp< PrimitivePatchType, Type, TrackingData >::operator()(), mapDistribute::transform::operator()(), weightedPosition::operator()(), foamToVtkReportFields::print(), fvMeshDistribute::printFieldInfo(), fvMeshDistribute::printIntFieldInfo(), singleDirectionUniformBin::processField(), uniformBin::processField(), fieldsDistributor::readFields(), Cloud< ParcelType >::readFromFiles(), Foam::regionSum(), mapDistribute::reverseDistribute(), coalCloudList::rhoTrans(), contactHeatFluxSource::rmap(), Foam::safeLog10(), nearWallFields::sampleBoundaryField(), nearWallFields::sampleFields(), mappedPatchBase::samplePoints(), globalIndex::scatter(), accessor::set(), parseDriver::setInternalFieldResult(), motionSmootherAlgo::smooth(), coalCloudList::Srho(), mappedPatchFieldBase< scalar >::storeAndRetrieveField(), mappedPatchFieldBase< Type >::storeField(), solutionControl::storePrevIter(), cyclicACMIPointPatchField< Type >::swapAddSeparated(), cyclicAMIPointPatchField< Type >::swapAddSeparated(), cyclicPointPatchField< Type >::swapAddSeparated(), syncTools::syncBoundaryFaceList(), weightedPosition::syncPoints(), fvMeshDistribute::testField(), meshRefinement::testSyncPointList(), vectorTensorTransform::transform(), PatchFunction1< Type >::transform(), coordinateScaling< scalar >::transform(), Foam::transform(), Foam::transformPoints(), turbulentDigitalFilterInletFvPatchField< Type >::updateCoeffs(), timeVaryingMappedFixedValuePointPatchField< Type >::updateCoeffs(), timeVaryingMassSorptionFvPatchScalarField::updateCoeffs(), coalCloudList::UTrans(), MappedFile< Type >::value(), FieldFunction1< Function1Type >::value(), parseDriver::volAverage(), parseDriver::volSum(), exprDriver::weightedAverage(), extendedCentredCellToFaceStencil::weightedSum(), extendedCentredCellToCellStencil::weightedSum(), extendedCentredFaceToCellStencil::weightedSum(), extendedCellToFaceStencil::weightedSum(), extendedCellToCellStencil::weightedSum(), extendedFaceToCellStencil::weightedSum(), exprDriver::weightedSum(), extendedUpwindCellToFaceStencil::weightedSum(), regionSizeDistribution::write(), dynamicOversetFvMesh::writeAgglomeration(), Foam::ensightOutput::writeAreaField(), Foam::ensightOutput::Detail::writeCoordinates(), ensightOutputSurface::writeData(), ensightOutputSurface::writeFaceData(), Foam::ensightOutput::Detail::writeFaceLocalField(), Foam::ensightOutput::Detail::writeFaceSubField(), Foam::ensightOutput::writeField(), Foam::ensightOutput::Detail::writeFieldComponents(), Foam::ensightOutput::Detail::writeFieldContent(), mappedPatchBase::writeIOField(), ensightOutputSurface::writePointData(), TableBase< Type >::x(), and TableBase< Type >::y().

◆ write() [4/6]

writer write ( "magLe"  ,
fld   
)

◆ fld() [2/2]

Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer( aMesh.edgeCentres(), edgeList::null(), fileName( aMesh.mesh().time().globalPath()/"finiteArea-edgesCentres")); writer.writeGeometry(); writer.beginPointData(4); { Field< vector > fld ( faMeshTools::flattenEdgeField(aMesh.Le(), true)  )

◆ write() [5/6]

writer write ( "Le"  ,
fld   
)

◆ write() [6/6]

writer write ( "normal"  ,
fld   
)

Variable Documentation

◆ cellIDs