Hello Elmer Community,
i was wondering if theres a way to use the mesh coordinates of an isosurface or isoline, which has been calculated by IsosurfaceSolver, in a user defined solver. I tried to copy some code from the saveline subroutine, but it didn't work... What i basically need is just an array with the coordinates of the isoline or isosurface.
Access to isosurf mesh coordinates
Re: Access to isosurf mesh coordinates
I think i figured it out by myself.
In IsosurfaceSolver you can define the name of the mesh with the keyword "Mesh Name". Then you can get the mesh nodes by:
In IsosurfaceSolver you can define the name of the mesh with the keyword "Mesh Name". Then you can get the mesh nodes by:
Code: Select all
Pmesh => Model % Meshes
DO WHILE(ASSOCIATED(Pmesh))
IF ( Pmesh % Name == "the name of the mesh") THEN
Isosurf=>Pmesh
EXIT
END IF
Pmesh => Pmesh % next
END DO