Re: [Nek5000-users] Grid to grid interpolation
Hi Stefan, I have a question about this routine. I haven't tried this yet, but I am curious if the "overall domain" of the new mesh needs to be exactly the same as the old mesh? Or if you can remove a portion of the domain completely, but still use g2gi to interpolate onto the new, remaining mesh? Thanks for any info! - Michael ----- Original Message ----- From: [email protected] To: [email protected] Sent: Tuesday, August 24, 2010 1:45:24 AM GMT -06:00 US/Canada Central Subject: Re: [Nek5000-users] Grid to grid interpolation Shriram: The g2gi() routine can be used to interpolate an existing field file onto a new mesh - so it will do exactly what you want to do. For more details: http://nek5000.mcs.anl.gov/index.php/Data_processing_example Stefan On Tue, Aug 24, 2010 at 3:31 AM, < [email protected] > wrote: Hi, Recently there was an updated routine in nek called grid-to-grid interpolation (g2gi). I tried to understand it by grepping to source code, but couldn't make much sense out of it. Could anyone brief what it is it for ? I have a nek simulation in which I have got lots of data, but for some comparisons, would like to do a grid refinement (quad/oct from prenek) and restart from the existing field files if that is possible. I know that for h-type refinement, usually the simulation has to be started afresh. But I was wondering if g2gi would make it possible to restart from a previous simulation. Thanks Shriram _______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users _______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Sure you can interpolate onto a smaller mesh as well. Stefan On Thu, Sep 2, 2010 at 6:13 PM, <[email protected]> wrote:
Hi Stefan,
I have a question about this routine. I haven't tried this yet, but I am curious if the "overall domain"
of the new mesh needs to be exactly the same as the old mesh? Or if you can remove a portion of
the domain completely, but still use g2gi to interpolate onto the new, remaining mesh?
Thanks for any info!
- Michael
----- Original Message ----- From: [email protected] To: [email protected] Sent: Tuesday, August 24, 2010 1:45:24 AM GMT -06:00 US/Canada Central Subject: Re: [Nek5000-users] Grid to grid interpolation
Shriram:
The g2gi() routine can be used to interpolate an existing field file onto a new mesh - so it will do exactly what you want to do. For more details: http://nek5000.mcs.anl.gov/index.php/Data_processing_example
Stefan
On Tue, Aug 24, 2010 at 3:31 AM, <[email protected]> wrote:
Hi,
Recently there was an updated routine in nek called grid-to-grid interpolation (g2gi). I tried to understand it by grepping to source code, but couldn't make much sense out of it. Could anyone brief what it is it for ?
I have a nek simulation in which I have got lots of data, but for some comparisons, would like to do a grid refinement (quad/oct from prenek) and restart from the existing field files if that is possible. I know that for h-type refinement, usually the simulation has to be started afresh. But I was wondering if g2gi would make it possible to restart from a previous simulation.
Thanks Shriram
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Hi Stefan, I have a question about the grid to grid interpolation. Does it work for both binary file formats, *.fld01 and *0.f00001? I use blah.fld* format more. Thanks, Harish. On Thu, 2 Sep 2010 [email protected] wrote:
Hi Stefan,
I have a question about this routine. I haven't tried this yet, but I am curious if the "overall domain"
of the new mesh needs to be exactly the same as the old mesh? Or if you can remove a portion of
the domain completely, but still use g2gi to interpolate onto the new, remaining mesh?
Thanks for any info!
- Michael
----- Original Message ----- From: [email protected] To: [email protected] Sent: Tuesday, August 24, 2010 1:45:24 AM GMT -06:00 US/Canada Central Subject: Re: [Nek5000-users] Grid to grid interpolation
Shriram:
The g2gi() routine can be used to interpolate an existing field file onto a new mesh - so it will do exactly what you want to do. For more details: http://nek5000.mcs.anl.gov/index.php/Data_processing_example
Stefan
On Tue, Aug 24, 2010 at 3:31 AM, < [email protected] > wrote:
Hi,
Recently there was an updated routine in nek called grid-to-grid interpolation (g2gi). I tried to understand it by grepping to source code, but couldn't make much sense out of it. Could anyone brief what it is it for ?
I have a nek simulation in which I have got lots of data, but for some comparisons, would like to do a grid refinement (quad/oct from prenek) and restart from the existing field files if that is possible. I know that for h-type refinement, usually the simulation has to be started afresh. But I was wondering if g2gi would make it possible to restart from a previous simulation.
Thanks Shriram
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
No only for the new binary format (.f????). Stefan On Fri, Sep 3, 2010 at 3:01 PM, <[email protected]> wrote:
Hi Stefan,
I have a question about the grid to grid interpolation.
Does it work for both binary file formats, *.fld01 and *0.f00001?
I use blah.fld* format more.
Thanks,
Harish.
On Thu, 2 Sep 2010 [email protected] wrote:
Hi Stefan,
I have a question about this routine. I haven't tried this yet, but I am
curious if the "overall domain"
of the new mesh needs to be exactly the same as the old mesh? Or if you
can remove a portion of
the domain completely, but still use g2gi to interpolate onto the new,
remaining mesh?
Thanks for any info!
- Michael
----- Original Message ----- From: [email protected] To: [email protected] Sent: Tuesday, August 24, 2010 1:45:24 AM GMT -06:00 US/Canada Central Subject: Re: [Nek5000-users] Grid to grid interpolation
Shriram:
The g2gi() routine can be used to interpolate an existing field file onto
a new mesh - so it will do exactly what you want to do.
For more details: http://nek5000.mcs.anl.gov/index.php/Data_processing_example
Stefan
On Tue, Aug 24, 2010 at 3:31 AM, < [email protected] > wrote:
Hi,
Recently there was an updated routine in nek called grid-to-grid interpolation (g2gi). I tried to understand it by grepping to source code, but couldn't make much sense out of it. Could anyone brief what it is it for ?
I have a nek simulation in which I have got lots of data, but for some comparisons, would like to do a grid refinement (quad/oct from prenek) and restart from the existing field files if that is possible. I know that for h-type refinement, usually the simulation has to be started afresh. But I was wondering if g2gi would make it possible to restart from a previous simulation.
Thanks Shriram
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Thanks Stefan!! Harish On Fri, 3 Sep 2010 [email protected] wrote:
No only for the new binary format (.f????). Stefan
On Fri, Sep 3, 2010 at 3:01 PM, <[email protected]> wrote:
Hi Stefan,
I have a question about the grid to grid interpolation.
Does it work for both binary file formats, *.fld01 and *0.f00001?
I use blah.fld* format more.
Thanks,
Harish.
On Thu, 2 Sep 2010 [email protected] wrote:
Hi Stefan,
I have a question about this routine. I haven't tried this yet, but I am
curious if the "overall domain"
of the new mesh needs to be exactly the same as the old mesh? Or if you
can remove a portion of
the domain completely, but still use g2gi to interpolate onto the new,
remaining mesh?
Thanks for any info!
- Michael
----- Original Message ----- From: [email protected] To: [email protected] Sent: Tuesday, August 24, 2010 1:45:24 AM GMT -06:00 US/Canada Central Subject: Re: [Nek5000-users] Grid to grid interpolation
Shriram:
The g2gi() routine can be used to interpolate an existing field file onto
a new mesh - so it will do exactly what you want to do.
For more details: http://nek5000.mcs.anl.gov/index.php/Data_processing_example
Stefan
On Tue, Aug 24, 2010 at 3:31 AM, < [email protected] > wrote:
Hi,
Recently there was an updated routine in nek called grid-to-grid interpolation (g2gi). I tried to understand it by grepping to source code, but couldn't make much sense out of it. Could anyone brief what it is it for ?
I have a nek simulation in which I have got lots of data, but for some comparisons, would like to do a grid refinement (quad/oct from prenek) and restart from the existing field files if that is possible. I know that for h-type refinement, usually the simulation has to be started afresh. But I was wondering if g2gi would make it possible to restart from a previous simulation.
Thanks Shriram
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Hello, I am testing subroutine g2gi() for a case of backward facing step (BFS) field file. After starting Nek5k in post-processing mode, the code stops in the subroutine g2gi() while reading the old field file. Nek5k is compiled with GNU compiler and OpenMPI. Here is the code snippet from the userchk() subroutine. *********************************************************************** subroutine userchk include 'SIZE' include 'TOTAL' character*132 newfld, oldfld, newgfld data newfld, oldfld, newgfld /'new0.f00001','bfs10.f00001', $ 'bfs20.f00001'/ call g2gi(newfld,oldfld,newgfld) ! grid2grid interpolation call exitt() *********************************************************************** Here is the part of the logfile which shows the point at which the simulation hangs and I have to kill the job after this point. *********************************************************************** nsteps=0 -> skip time loop running solver in post processing mode call userchk grid-to-grid interpolation set initial conditions Checking restart options: bfs10.f00001 Reading checkpoint data 1 OPEN: bfs10.f00001 byte swap: F 6.5432100 -2.93127722E+35 *********************************************************************** I am attaching the logfile for you reference. What is the solution to this problem? Thanks for all the help, Harish.
Harish, I will check into that. Stefan On Mon, Sep 6, 2010 at 7:52 AM, <[email protected]> wrote:
Hello,
I am testing subroutine g2gi() for a case of backward facing step (BFS) field file. After starting Nek5k in post-processing mode, the code stops in the subroutine g2gi() while reading the old field file.
Nek5k is compiled with GNU compiler and OpenMPI. Here is the code snippet from the userchk() subroutine. *********************************************************************** subroutine userchk include 'SIZE' include 'TOTAL'
character*132 newfld, oldfld, newgfld data newfld, oldfld, newgfld /'new0.f00001','bfs10.f00001', $ 'bfs20.f00001'/
call g2gi(newfld,oldfld,newgfld) ! grid2grid interpolation call exitt() ***********************************************************************
Here is the part of the logfile which shows the point at which the simulation hangs and I have to kill the job after this point.
*********************************************************************** nsteps=0 -> skip time loop running solver in post processing mode
call userchk grid-to-grid interpolation set initial conditions Checking restart options: bfs10.f00001
Reading checkpoint data 1 OPEN: bfs10.f00001 byte swap: F 6.5432100 -2.93127722E+35 ***********************************************************************
I am attaching the logfile for you reference. What is the solution to this problem?
Thanks for all the help,
Harish. _______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Thanks Stefan!! Harish On Mon, 6 Sep 2010 [email protected] wrote:
Harish,
I will check into that.
Stefan
On Mon, Sep 6, 2010 at 7:52 AM, <[email protected]> wrote:
Hello,
I am testing subroutine g2gi() for a case of backward facing step (BFS) field file. After starting Nek5k in post-processing mode, the code stops in the subroutine g2gi() while reading the old field file.
Nek5k is compiled with GNU compiler and OpenMPI. Here is the code snippet from the userchk() subroutine. *********************************************************************** subroutine userchk include 'SIZE' include 'TOTAL'
character*132 newfld, oldfld, newgfld data newfld, oldfld, newgfld /'new0.f00001','bfs10.f00001', $ 'bfs20.f00001'/
call g2gi(newfld,oldfld,newgfld) ! grid2grid interpolation call exitt() ***********************************************************************
Here is the part of the logfile which shows the point at which the simulation hangs and I have to kill the job after this point.
*********************************************************************** nsteps=0 -> skip time loop running solver in post processing mode
call userchk grid-to-grid interpolation set initial conditions Checking restart options: bfs10.f00001
Reading checkpoint data 1 OPEN: bfs10.f00001 byte swap: F 6.5432100 -2.93127722E+35 ***********************************************************************
I am attaching the logfile for you reference. What is the solution to this problem?
Thanks for all the help,
Harish. _______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Harish: Can you send me your case? I cannot reproduce your problem here. -Stefan On Mon, Sep 6, 2010 at 8:39 AM, <[email protected]> wrote:
Thanks Stefan!!
Harish
On Mon, 6 Sep 2010 [email protected] wrote:
Harish,
I will check into that.
Stefan
On Mon, Sep 6, 2010 at 7:52 AM, <[email protected]> wrote:
Hello,
I am testing subroutine g2gi() for a case of backward facing step (BFS) field file. After starting Nek5k in post-processing mode, the code stops in the subroutine g2gi() while reading the old field file.
Nek5k is compiled with GNU compiler and OpenMPI. Here is the code snippet from the userchk() subroutine. *********************************************************************** subroutine userchk include 'SIZE' include 'TOTAL'
character*132 newfld, oldfld, newgfld data newfld, oldfld, newgfld /'new0.f00001','bfs10.f00001', $ 'bfs20.f00001'/
call g2gi(newfld,oldfld,newgfld) ! grid2grid interpolation call exitt() ***********************************************************************
Here is the part of the logfile which shows the point at which the simulation hangs and I have to kill the job after this point.
*********************************************************************** nsteps=0 -> skip time loop running solver in post processing mode
call userchk grid-to-grid interpolation set initial conditions Checking restart options: bfs10.f00001
Reading checkpoint data 1 OPEN: bfs10.f00001 byte swap: F 6.5432100 -2.93127722E+35 ***********************************************************************
I am attaching the logfile for you reference. What is the solution to this problem?
Thanks for all the help,
Harish. _______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Hi Stefan, Thanks a lot for looking into this issue. Here is the link with bfs.tar file containing *.rea, *.usr, SIZE, old field file (bfs10.f00001) and new geometry file (bfs20.f00001). www2.uic.edu/~hkanch1/bfs.tar I actually converted a bfs1.fld20 file to bfs10.f00001. I use *.fld format because, my Visit 1.12.2 on Windows does not work with *.f???? format files. I can only see the mesh and not the velocity contours. Thanks, Harish. On Mon, September 6, 2010 4:47 pm, [email protected] wrote:
Harish:
Can you send me your case? I cannot reproduce your problem here.
-Stefan
On Mon, Sep 6, 2010 at 8:39 AM, <[email protected]> wrote:
Thanks Stefan!!
Harish
On Mon, 6 Sep 2010 [email protected] wrote:
Harish,
I will check into that.
Stefan
On Mon, Sep 6, 2010 at 7:52 AM, <[email protected]> wrote:
Hello,
I am testing subroutine g2gi() for a case of backward facing step (BFS) field file. After starting Nek5k in post-processing mode, the code stops in the subroutine g2gi() while reading the old field file.
Nek5k is compiled with GNU compiler and OpenMPI. Here is the code snippet from the userchk() subroutine. *********************************************************************** subroutine userchk include 'SIZE' include 'TOTAL'
character*132 newfld, oldfld, newgfld data newfld, oldfld, newgfld /'new0.f00001','bfs10.f00001', $ 'bfs20.f00001'/
call g2gi(newfld,oldfld,newgfld) ! grid2grid interpolation call exitt() ***********************************************************************
Here is the part of the logfile which shows the point at which the simulation hangs and I have to kill the job after this point.
*********************************************************************** nsteps=0 -> skip time loop running solver in post processing mode
call userchk grid-to-grid interpolation set initial conditions Checking restart options: bfs10.f00001
Reading checkpoint data 1 OPEN: bfs10.f00001 byte swap: F 6.5432100 -2.93127722E+35 ***********************************************************************
I am attaching the logfile for you reference. What is the solution to this problem?
Thanks for all the help,
Harish. _______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________ Nek5000-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
participants (1)
-
nek5000-users@lists.mcs.anl.gov