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. -- --

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] 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

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

2019-10-22 Thread Xiang Sun
Hi, Wolfgang, 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 with several wellbores. The heat transfer

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

2019-10-22 Thread Wolfgang Bangerth
On 10/22/19 10:41 AM, Xiang Sun wrote: > > In step-31, why did you define the residual by multiplying T^(a-1)? What does > "a" mean? Thank you very much. I assume you mean here? https://dealii.org/developer/doxygen/deal.II/step_31.html#Stabilizationweakformandspacediscretizationforthetemperature

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

2019-10-22 Thread Xiang Sun
Hi, In step-31, why did you define the residual by multiplying T^(a-1)? What does "a" mean? Thank you very much. Best, Xiang -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this