******************* This email 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 https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address. ******************* Hi, I have a nekmesh question - Can I use nekmesh to take an existing 2D mesh in [image: [0,1]\times[0,1]] and stretch it t/o [image: [-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 <https://www.ruffhaven.org/donate>. Consider a donation today :)
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<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> 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<mailto:vidhi.zala@utah.edu> =( _____|_|____||________| http://sci.utah.edu/people/vidhi.html I support Ruff Haven Crises Shelter for Homeless Pets<https://www.ruffhaven.org/donate>. Consider a donation today :) _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
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<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspam.ic.ac.uk%2FSpamConsole%2FSenders.aspx&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JWZx4C3nznXepIGKgQqj8Z2taLNjwsiCmezlnb5J%2BM8%3D&reserved=0> 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<mailto:vidhi.zala@utah.edu> =( _____|_|____||________| http://sci.utah.edu/people/vidhi.html<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsci.utah.edu%2Fpeople%2Fvidhi.html&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mzvk9o48KPf%2BM59fZhidD5xEfdViDKDlpVkMHbrwFkA%3D&reserved=0> I support Ruff Haven Crises Shelter for Homeless Pets<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ruffhaven.org%2Fdonate&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826552228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pAq31I1XPgfA54d7%2B%2BKbJzXrMZAjDqVKmbYZobTdEhw%3D&reserved=0>. Consider a donation today :) _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
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 <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspam.ic.ac.uk%2FSpamConsole%2FSenders.aspx&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JWZx4C3nznXepIGKgQqj8Z2taLNjwsiCmezlnb5J%2BM8%3D&reserved=0> to disable email stamping for this address.
Hi,
I have a nekmesh question - Can I use nekmesh to take an existing 2D mesh in [image: [0,1]\times[0,1]] and stretch it t/o [image: [-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 <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsci.utah.edu%2Fpeople%2Fvidhi.html&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mzvk9o48KPf%2BM59fZhidD5xEfdViDKDlpVkMHbrwFkA%3D&reserved=0> I support Ruff Haven Crises Shelter for Homeless Pets <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ruffhaven.org%2Fdonate&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826552228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pAq31I1XPgfA54d7%2B%2BKbJzXrMZAjDqVKmbYZobTdEhw%3D&reserved=0>. 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
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<mailto: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<mailto:nektar-users-bounces@imperial.ac.uk> <nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk>> on behalf of Sherwin, Spencer J <s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk>> Sent: Monday, May 31, 2021 2:44:01 PM To: Vidhi Zala <vidhi.zala@utah.edu<mailto:vidhi.zala@utah.edu>> Cc: nektar-users <nektar-users@imperial.ac.uk<mailto: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<mailto:vidhi.zala@utah.edu>> wrote:  This email from vidhi.zala@utah.edu<mailto: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<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspam.ic.ac.uk%2FSpamConsole%2FSenders.aspx&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JWZx4C3nznXepIGKgQqj8Z2taLNjwsiCmezlnb5J%2BM8%3D&reserved=0> 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<mailto:vidhi.zala@utah.edu> =( _____|_|____||________| http://sci.utah.edu/people/vidhi.html<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsci.utah.edu%2Fpeople%2Fvidhi.html&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mzvk9o48KPf%2BM59fZhidD5xEfdViDKDlpVkMHbrwFkA%3D&reserved=0> I support Ruff Haven Crises Shelter for Homeless Pets<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ruffhaven.org%2Fdonate&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826552228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pAq31I1XPgfA54d7%2B%2BKbJzXrMZAjDqVKmbYZobTdEhw%3D&reserved=0>. Consider a donation today :) _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk<mailto: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<mailto:vidhi.zala@utah.edu> =( _____|_|____||________| http://sci.utah.edu/people/vidhi.html
Got it in user-guide! Thanks :) V On Mon, May 31, 2021 at 7:38 PM Sherwin, Spencer J <s.sherwin@imperial.ac.uk> wrote:
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 <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspam.ic.ac.uk%2FSpamConsole%2FSenders.aspx&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JWZx4C3nznXepIGKgQqj8Z2taLNjwsiCmezlnb5J%2BM8%3D&reserved=0> to disable email stamping for this address.
Hi,
I have a nekmesh question - Can I use nekmesh to take an existing 2D mesh in [image: [0,1]\times[0,1]] and stretch it t/o [image: [-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 <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsci.utah.edu%2Fpeople%2Fvidhi.html&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826542239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mzvk9o48KPf%2BM59fZhidD5xEfdViDKDlpVkMHbrwFkA%3D&reserved=0> I support Ruff Haven Crises Shelter for Homeless Pets <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ruffhaven.org%2Fdonate&data=04%7C01%7Cel326%40exeter.ac.uk%7Cb409a1192ca842b570ff08d9243a3dd4%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637580654826552228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pAq31I1XPgfA54d7%2B%2BKbJzXrMZAjDqVKmbYZobTdEhw%3D&reserved=0>. 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
-- ,-~~-.___._. / | ' \ | |--------. 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
participants (3)
- 
                
                Laughton, Edward
- 
                
                Sherwin, Spencer J
- 
                
                Vidhi Zala