I am not on my laptop currently but hope there might be an example in the user-guide. If not I would check the tests in the incompressible solver since I recall scaling a mesh to a width of -PI,PI

Cheers,
Spencer 

Sent from my iPhone

On 31 May 2021, at 15:05, Vidhi Zala <vidhi.zala@utah.edu> wrote:


Hi Spencer, Ed

This is what I need. Is there any documentation or example usage of these keywords?
Would save me a lot of time trying to make a mesh :)

Thanks
V

On Mon, May 31, 2021 at 7:27 PM Laughton, Edward <el326@exeter.ac.uk> wrote:
To add to this you can also use XMOVE and YMOVE to translate the mesh. By combining with the scale keywords that Spencer suggested you should be able to take a [0,1] -> [-10,10].

Cheers,
Ed

From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Sherwin, Spencer J <s.sherwin@imperial.ac.uk>
Sent: Monday, May 31, 2021 2:44:01 PM
To: Vidhi Zala <vidhi.zala@utah.edu>
Cc: nektar-users <nektar-users@imperial.ac.uk>
Subject: Re: [Nektar-users] Stretching existing mesh using Nekmesh
 
CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.

Hi Vidhi,

I do not know about whether you can do this in Nekmesh but you can use the keyword XSCALE and YSCALE in the vertex definition which will rescale the mesh. Might that work for you?

Cheers,
Spencer 

Sent from my iPhone

On 28 May 2021, at 17:42, Vidhi Zala <vidhi.zala@utah.edu> wrote:



This email from vidhi.zala@utah.edu originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address.

 

Hi,

I have a nekmesh question - 
Can I use nekmesh to take an existing 2D mesh in [0,1]\times[0,1] and stretch it t/o [-10, 10] \times [-10,10] ?

Thanks
V

--
   ,-~~-.___._.
  / |  '     \    | |--------. Vidhi Zala
 (  )         0   | |        | School of Computing
  \_/-, ,----'    | |        | Scientific Computing and Imaging Institute
     ====         !_!-v---v--. University of Utah
     /  \-'~;      .--------.  
    /  __/~| ._-""||        |  vidhi.zala@utah.edu 
  =(  _____|_|____||________|  http://sci.utah.edu/people/vidhi.html 
I support Ruff Haven Crises Shelter for Homeless Pets. Consider a donation today :)
_______________________________________________
Nektar-users mailing list
Nektar-users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/nektar-users


--
   ,-~~-.___._.
  / |  '     \    | |--------. Vidhi Zala
 (  )         0   | |        | School of Computing
  \_/-, ,----'    | |        | Scientific Computing and Imaging Institute
     ====         !_!-v---v--. University of Utah
     /  \-'~;      .--------.  
    /  __/~| ._-""||        |  vidhi.zala@utah.edu 
  =(  _____|_|____||________|  http://sci.utah.edu/people/vidhi.html