Re: [petsc-users] Book for the PETSc finite volume method
Great. I will go to your office about 3PM this afternoon. Thank you very much. Best regards, Rongliang On 10/28/2014 11:41 AM, Jed Brown wrote: Rongliang Chen writes: Yes. I am at CU Boulder. I will read the Berger paper first, and then if possible, I will go to your office to talk with you when you are free. I can meet before 5pm this afternoon or tomorrow any time other than 12-1pm. Note that the example does not currently define a diffusion/viscosity, and there is more than one way to do that.
Re: [petsc-users] Book for the PETSc finite volume method
Rongliang Chen writes: > Yes. I am at CU Boulder. I will read the Berger paper first, and then if > possible, I will go to your office to talk with you when you are free. I can meet before 5pm this afternoon or tomorrow any time other than 12-1pm. Note that the example does not currently define a diffusion/viscosity, and there is more than one way to do that. signature.asc Description: PGP signature
Re: [petsc-users] Book for the PETSc finite volume method
Yes. I am at CU Boulder. I will read the Berger paper first, and then if possible, I will go to your office to talk with you when you are free. Thanks. Best, Rongliang On 10/28/2014 11:08 AM, Jed Brown wrote: Rongliang Chen writes: Hi Jed, I am solving the 3D compressible Navier-Stokes equations. I have read the ex11.c for several days and still do not fully understand this. I will look at the older version as you suggested. Maybe I need to go to your office to ask you some questions. :-) Are you on campus? ex11.c has not implemented diffusion, but it has an Euler example and I can draw pictures to help explain the reconstruction. Did you read the cited Berger 2005 paper on slope reconstruction and limiters for irregular grids?
Re: [petsc-users] Book for the PETSc finite volume method
Rongliang Chen writes: > Hi Jed, > > I am solving the 3D compressible Navier-Stokes equations. I have read > the ex11.c for several days and still do not fully understand this. I > will look at the older version as you suggested. Maybe I need to go to > your office to ask you some questions. :-) Are you on campus? ex11.c has not implemented diffusion, but it has an Euler example and I can draw pictures to help explain the reconstruction. Did you read the cited Berger 2005 paper on slope reconstruction and limiters for irregular grids? signature.asc Description: PGP signature
Re: [petsc-users] Book for the PETSc finite volume method
Hi Jed, I am solving the 3D compressible Navier-Stokes equations. I have read the ex11.c for several days and still do not fully understand this. I will look at the older version as you suggested. Maybe I need to go to your office to ask you some questions. :-) Best regards, Rongliang On 10/28/2014 10:15 AM, Jed Brown wrote: Rongliang Chen writes: Thanks Matt and Jed, I am trying to write a parallel FVM code on unstructured grid for compressible NS equations. I found that the finite volume code on the structured mesh is easy to write but for the unstructured mesh, it is really untrivial. I want to follow the PETSc's DMPlexFV but it is not easy to read, so I want to find a good book for it. There is no book specific to PETSc's interfaces. What sort of equations are you solving? For hyperbolic systems, you can look at src/ts/examples/tutorials/ex11.c. Make sure to set up global/tags so you can jump to the library implementations, or look at an older version that doesn't hide the actual discretization in overly-specialized library functions. (Matt and I wrote this example together, but disagree about which parts belong in the library.)
Re: [petsc-users] Book for the PETSc finite volume method
Rongliang Chen writes: > Thanks Matt and Jed, > > I am trying to write a parallel FVM code on unstructured grid for > compressible NS equations. I found that the finite volume code on the > structured mesh is easy to write but for the unstructured mesh, it is > really untrivial. I want to follow the PETSc's DMPlexFV but it is not > easy to read, so I want to find a good book for it. There is no book specific to PETSc's interfaces. What sort of equations are you solving? For hyperbolic systems, you can look at src/ts/examples/tutorials/ex11.c. Make sure to set up global/tags so you can jump to the library implementations, or look at an older version that doesn't hide the actual discretization in overly-specialized library functions. (Matt and I wrote this example together, but disagree about which parts belong in the library.) signature.asc Description: PGP signature
Re: [petsc-users] Book for the PETSc finite volume method
Thanks Matt and Jed, I am trying to write a parallel FVM code on unstructured grid for compressible NS equations. I found that the finite volume code on the structured mesh is easy to write but for the unstructured mesh, it is really untrivial. I want to follow the PETSc's DMPlexFV but it is not easy to read, so I want to find a good book for it. Best regards, Rongliang On 10/28/2014 09:44 AM, Jed Brown wrote: Matthew Knepley writes: On Tue, Oct 28, 2014 at 10:34 AM, Rongliang Chen wrote: Hello, I have a very elementary question. I am trying to learn the PETSc finite volume method codes. Can you tell me which book did you refer to for the PETSc FVM? PETSc has some support for operations done in finite volume codes, but it is very new and primitive. There are no full applications that use this. Right now it is an experiment. There are, however, many full applications based on finite volume methods that use PETSc for algebraic solvers and even (structured) grid management. Matt's comment refers to an experimental discretization interface called PetscFV that attempts to hide the boilerplate for a certain class of finite volume methods. If you are looking for a book on finite volume methods for hyperbolic problems, I recommend LeVeque's and the PyClaw package (which can use PETSc for parallelism).
Re: [petsc-users] Book for the PETSc finite volume method
Matthew Knepley writes: > On Tue, Oct 28, 2014 at 10:34 AM, Rongliang Chen > wrote: > >> Hello, >> >> I have a very elementary question. I am trying to learn the PETSc finite >> volume method codes. Can you tell me which book did you refer to for the >> PETSc FVM? > > > PETSc has some support for operations done in finite volume codes, but it > is very new and primitive. There are no full applications > that use this. Right now it is an experiment. There are, however, many full applications based on finite volume methods that use PETSc for algebraic solvers and even (structured) grid management. Matt's comment refers to an experimental discretization interface called PetscFV that attempts to hide the boilerplate for a certain class of finite volume methods. If you are looking for a book on finite volume methods for hyperbolic problems, I recommend LeVeque's and the PyClaw package (which can use PETSc for parallelism). signature.asc Description: PGP signature
Re: [petsc-users] Book for the PETSc finite volume method
On Tue, Oct 28, 2014 at 10:34 AM, Rongliang Chen wrote: > Hello, > > I have a very elementary question. I am trying to learn the PETSc finite > volume method codes. Can you tell me which book did you refer to for the > PETSc FVM? PETSc has some support for operations done in finite volume codes, but it is very new and primitive. There are no full applications that use this. Right now it is an experiment. Thanks, Matt > Thanks. > > Best regards, > Rongliang > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener
[petsc-users] Book for the PETSc finite volume method
Hello, I have a very elementary question. I am trying to learn the PETSc finite volume method codes. Can you tell me which book did you refer to for the PETSc FVM? Thanks. Best regards, Rongliang