|
[Sponsors] |
October 31, 2007, 19:23 |
ALE mesh-smoothing by a simple average?
|
#1 |
Guest
Posts: n/a
|
I am solving 2D compressible flow problems. In doing, I need to adjust the fluid mesh in time. There are a number of mesh-smoothing schemes. Among them, I preferred to use the simple averaging scheme due to its simplicity. It is
x_new(i)=1/N*SUM(x_old(k)) over all neighbors. In some literatures, the formula needs to be iterated through few steps. My guess is that the procedure be like the solution method for the laplace equation. My questions are that what the convergence criteria for that equation is, whether it must be iterated through few steps. ,for two-dimensions and whether each dimension is separately iterated or both dimensions are iterated together. Is there any good sample code or reference for ALE-mesh-smoothing? Thanks in advance. I now have no iteration loop to check the convergence of mesh-smoothing. --- Sample codes ---- DO 100 i=2,nnx-1 DO 100 j=2,nny-1 ip=nnx*(j-1)+i ie=nnx*(j-1)+(i+1) iw=nnx*(j-1)+(i-1) in=nnx*j +i; inw=nnx*j +(i-1); ine=nnx*j +(i+1) is=nnx*(j-2)+i; isw=nnx*(j-2)+(i-1); ise=nnx*(j-2)+(i+1) ! temp(ip,1)=(temp(ie,1)+temp(iw,1)+temp(in,1)+temp( inw,1)+temp(ine,1)+& temp(is,1)+temp(isw,1)+temp(ise,1))/8.d0 temp(ip,2)=(temp(ie,2)+temp(iw,2)+temp(in,2)+temp( inw,2)+temp(ine,2)+& temp(is,2)+temp(isw,2)+temp(ise,2))/8.d0 100 CONTINUE |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
[ICEM] Negative volume error in hybrid mesh | siw | ANSYS Meshing & Geometry | 4 | September 3, 2014 05:25 |
[ICEM] Using a hybrid mesh for a simple pipe | Udio_NT | ANSYS Meshing & Geometry | 17 | October 18, 2012 14:42 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
3D valve motion but no mesh motion with smoothing | slaol2 | FLUENT | 1 | September 22, 2011 18:06 |