CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Point coordinates of cellZones from pointID (https://www.cfd-online.com/Forums/openfoam-programming-development/175826-point-coordinates-cellzones-pointid.html)

Virag August 5, 2016 23:16

Point coordinates of cellZones from pointID
 
Hi

I am trying to modify the dynamicInkJetMesh such that I can use the newPoint.replace only on a cellZone.

newPoints.replace
(
vector::Y,
stationaryPoints_.component(vector::Y)*
(
1.0
+ pos
(
- (stationaryPoints_.component(vector::Y))
- refPlaneY_
)*amplitude_*scalingFunction
)
);

fvMesh::movePoints(newPoints);

I tried to modify solidBodyFvMotion. But everything boils to getting coordinate values of the identified pointIDs of cellZone.

If someone has any idea to extract coordinate values from the pointIDs, please share.


All times are GMT -4. The time now is 11:40.