[Nek5000-users] link between local and global direction

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Sat Nov 25 23:11:52 CST 2017


Hi Vatslav,


There is some discussion of mesh deformation here:


http://nek5000.github.io/NekDoc/geometry.html


Look for mesh modification.


As long as your transformation is a relatively smooth

function of the input geometry, i.e., X' = f(X), where

X=(x,y,z) is the input geometry and X'=(x',y',z') is the

output geometry, then things are likely to be ok.


A call to fix_geom just before the "return" statement

in usrdat2 is often a good idea.  That is:


      subroutine usrdat2


      your code here (e.g., following the url above)


      call fix_geom

      return

      end


Note that the comments about outputting the geometry

in the URL above are somewhat dated.   Nek5000 always

writes the geometry to the first 0.f00001 file, so you don't

have to explicitly request to have the geometry written with

the other fields (velocity, pressure, temperature...)


hth,


Paul


________________________________
From: Nek5000-users <nek5000-users-bounces at lists.mcs.anl.gov> on behalf of nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
Sent: Saturday, November 25, 2017 4:04:02 AM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] link between local and global direction

Hi, Neks!

What is the principle of creation of link between local ( i, j, k ) in some spectral element and the global coordinate system ( x, y, z ) in sophisticated geometry ?

And how to find out how does these links changes when I move or rotate the elements ?

Regards, Vatslav.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20171126/50c1224c/attachment.html>


More information about the Nek5000-users mailing list