Re: [deal.II] Data communication between dealii and other tools written in different languages

2024-11-30 Thread Wolfgang Bangerth
On 11/28/24 16:08, Yiliang Wang wrote: I need to exchange data between dealii and another software written in different languages. To achieve the best efficiency, it is better to print and load data in a binary mode. I found an example of code (see here nam10.safelinks.protection.outlook.com

Re: [deal.II] Periodic boundaries

2024-11-30 Thread Wolfgang Bangerth
Yann: I do not know the function in question in detail, but have you tried reading through the implementation of that function and understanding where the error comes from? Oftentimes, understanding how an error comes about gets you 90% the way towards understanding how to fix the code (in yo

Re: [deal.II] why step-24 result is more "angular" than step-89

2024-11-30 Thread Wolfgang Bangerth
On 11/29/24 22:10, meng deng wrote: I trid the same initial value in step-24 as step-89, but step-89 is smoother than step-24, and step-89 needs less grids. I also set the fe.degree -> 3. Meng, can you explain in more detail what it is you tried, and how the result you get differs from your ex

[deal.II] Re: why step-24 result is more "angular" than step-89

2024-11-30 Thread meng deng
for example, i created a 4 grids mesh with 3-order DGQ<2> in step-24, GaussPluse expression: exp(-1000 * ( (x-x0)^2 + (y-y0) ^ 2 )). distribution of the quadrature points distribution of : [image: quad_points.png] The initial value plot doesn't seem to have that many control points: [image: ini