|
[Sponsors] |
Access to a field of a lagrangian post-processing cloudFunction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 13, 2019, 06:46 |
Access to a field of a lagrangian post-processing cloudFunction
|
#1 |
New Member
Kevin
Join Date: May 2018
Posts: 6
Rep Power: 8 |
Hi,
i am creating new fields in createFields.H dict which are the copy of a certain given field. For example the "wallShearStress" and a "new field". Code:
volVectorField wallShearStress ( IOobject ( "wallShearStress", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), mesh, dimensionedVector("wallShearStress",dimensionSet( 0, 2, -2, 0, 0, 0, 0),Zero) ); volVectorField newField ( IOobject ( "newField", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), mesh, dimensionedVector("newField",dimensionSet( 0, 2, -2, 0, 0, 0, 0),Zero) ); Code:
wallShearStress { type wallShearStress; libs ("libfieldFunctionObjects.so"); executeControl timeStep; writeControl writeTime; } Code:
newField=wallShearStress; I tried to do exactly the same with a field which is created by a lagrangian post-processing cloud function "OwnPatchCollisionDensity" ("OwnPatchCollisionDensity" function is just a modified version of the standard "patchCollisionDensity" function). This function is added in the kinematicCloudProperties and it writes a boundary field which is called "collision" in my stored time folders. Code:
cloudFunctions { myCollisionFunction { type OwnPatchCollisionDensity; } } 1. Somebody has an idea why the fields "collision" and "newField" remain empty ? Maybe it is because the field "collision" is only a boundaryField? But isnt wallShearStress also only a boundaryField? 2. Maybe somebody has an other idea how to get access to the field of a lagrangian post-processing cloudFunction? Thanks in advance! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Post processing journal - like .cst in CFD Post | Jiricbeng | FLUENT | 0 | April 24, 2019 09:08 |
post processing density rho with foamCalc openfoam4.0 extend | Flexflix | OpenFOAM Post-Processing | 0 | May 18, 2018 05:13 |
Post processing heat flow at inlet and outlet | gerrit91 | OpenFOAM Programming & Development | 0 | January 6, 2018 08:40 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |