Re: [deal.II] ABOUT THE DEFINITION OF RESIDUAL IN STEP-31

2019-10-23 Thread Xiang Sun
Thank you very much. Best, Xiang On Wed, Oct 23, 2019 at 4:42 PM Wolfgang Bangerth wrote: > > > Thank you for your reply. I will try it. The equations are: > [...] > > Both step 31 and 32 will be good starting points. The only difference is > that you have Darcy flow instead of Stokes flow, bu

Re: [deal.II] ABOUT THE DEFINITION OF RESIDUAL IN STEP-31

2019-10-23 Thread Wolfgang Bangerth
> Thank you for your reply. I will try it. The equations are: > [...] Both step 31 and 32 will be good starting points. The only difference is that you have Darcy flow instead of Stokes flow, but that should be easy to incorporate into these programs. Best W. -- --

[deal.II] Re: Docker MPI

2019-10-23 Thread Doug Shi-Dong
Dr. Turcksin, Thank you for the answer. Makes sense why I couldn't find it use apt search. CMake's FindMPI was unable to find it though. Might just need to give it some hints on the spack MPI location. Either way, I realised that I'm using some features with bugs that were fixed in the current

Re: [deal.II] ABOUT THE DEFINITION OF RESIDUAL IN STEP-31

2019-10-23 Thread Xiang Sun
Hi, Wolfgang, Thank you for your reply. I will try it. The equations are: [image: image.png] [image: image.png] where T is temperature, p is pressure, u is flow rate. K is hydraulic conductivity which is constant, κ and λ are the coefficients of heat transfer. T1 means the temperature at boundary

Re: [deal.II] Domain Decomposition: Interpolating FE function from value on grid points efficiently.

2019-10-23 Thread manuJayadharan
Hi Prof Wolfgang, Thanks for the insight. I figured a way of implementing it without any interpolation, but to just use the normal traces of RT_0 in 2d at different time levels directly to get the normal traces of RT_0 in 3d(2Dspace-1Dtime mesh). regards, Manu On Sunday, October 20, 2019 at

Re: [deal.II] Modifying a component of solution with gradient of the other component

2019-10-23 Thread Wolfgang Bangerth
On 10/23/19 3:05 AM, Prateek Sharma wrote: > > The problem that I am facing is that even if i extract the component of the > solution that I want to modify, I can't extract the information about the > gradient of the other component at the same node. We can extract the value of > the solution a

Re: [deal.II] ABOUT THE DEFINITION OF RESIDUAL IN STEP-31

2019-10-23 Thread Wolfgang Bangerth
On 10/22/19 10:57 PM, Xiang Sun wrote: > > Thank you for your reply. I am learning dealii to build up a geothermal > model, > which includes a Laplace equation and a heat transfer considering both > convection and diffusion. The Laplace equation describes a pressure > distibution in a site wit

[deal.II] Modifying a component of solution with gradient of the other component

2019-10-23 Thread Prateek Sharma
Hello I have a problem with the solution vector grouped into components of displacement vector and one scalar component. So esentially my solution vector is - (Ux, Uy, Uz, Scalar) I want to modify the scalar with the help of the gradients of the displacement vector after solving the system