<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Stefan,<br>
<br>
thanks for your quick reply.<br>
I have just tested the generic fld reader gfldr as you suggested.
<br>
</p>
<p>It is super easy and works like a charm.<br>
</p>
<br>
Cheers,<br>
Steffen<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/20/2017 07:00 PM,
<a class="moz-txt-link-abbreviated" href="mailto:nek5000-users-request@lists.mcs.anl.gov">nek5000-users-request@lists.mcs.anl.gov</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:mailman.37.1497978008.16114.nek5000-users@lists.mcs.anl.gov">
<pre wrap=""><div class="moz-txt-sig">Message: 2
Date: Tue, 20 Jun 2017 15:39:10 +0200
From: <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov" moz-do-not-send="true">nek5000-users@lists.mcs.anl.gov</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov" moz-do-not-send="true">nek5000-users@lists.mcs.anl.gov</a> <a class="moz-txt-link-rfc2396E" href="mailto:nek5000-users@lists.mcs.anl.gov" moz-do-not-send="true"><nek5000-users@lists.mcs.anl.gov></a>
Subject: Re: [Nek5000-users] Interpolation on a finer mesh
Message-ID:
<a class="moz-txt-link-rfc2396E" href="mailto:mailman.9088.1497966043.2967.nek5000-users@lists.mcs.anl.gov" moz-do-not-send="true"><mailman.9088.1497966043.2967.nek5000-users@lists.mcs.anl.gov></a>
Content-Type: text/plain; charset=utf-8
You can use our generic fld reader.
Just add this to userchk():
if(istep.eq.0) call gfldr('myfldfilename')
This will interpolate your field file data to your new mesh. You're all set <span class="moz-smiley-s1" title=":)"><span>:)</span></span>
Cheers,
Stefan
-----Original message-----
</div></pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:From:nek5000-users@lists.mcs.anl.gov" moz-do-not-send="true">From:nek5000-users@lists.mcs.anl.gov</a> <a class="moz-txt-link-rfc2396E" href="mailto:nek5000-users@lists.mcs.anl.gov" moz-do-not-send="true"><nek5000-users@lists.mcs.anl.gov></a>
Sent: Tuesday 20th June 2017 15:19
To: <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov" moz-do-not-send="true">nek5000-users@lists.mcs.anl.gov</a>
Subject: [Nek5000-users] Interpolation on a finer mesh
Dear Neks,
I am simulating turbulent pipe flow with Nek5000. As a first step, I
have generated a fully developed turbulent pipe flow within a domain of
L_z = 5 D at Re_\tau = 360. Now, I would like to use this flow field as
an initial / restart condition for a turbulent flow at a Re_\tau=720
with a finer mesh.
The geometry of the finer mesh is contained in a .rea file.
For doing the interpolation, I have found the "interpolation wrapper for
usage in .usr file" in core/intp_usr.f.
Can someone give a short example on how to use these subroutines to
interpolate results from 3 or 4 restart files onto my new geometry?
Kind Regards,
Steffen Straub
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>