Files
OpenFOAM-12/etc/caseDicts/functions/fields/cylindrical
Will Bainbridge 1622e19021 functionObjects::cylindrical: Added packaged configuration
This function can now be run interactively using the following command:

    foamPostProcess -func "cylindrical(origin=(0 0 0), axis=(0 0 1), U)"

Or it can be executed at run time by adding the following entry in the
system/functions file:

    #includeFunc cylindrical(origin=(0 0 0), axis=(0 0 1), U)
2024-02-28 10:46:10 +00:00

21 lines
753 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Transforms a vector field into cylindrical coordinates
\*---------------------------------------------------------------------------*/
#includeEtc "caseDicts/functions/fields/cylindrical.cfg"
field <fieldName>;
origin <origin>;
axis <axis>;
// ************************************************************************* //