|
[Sponsors] |
July 7, 2005, 07:29 |
Dear all what is
mesh.surface
|
#1 |
Member
Marco Kupiainen
Join Date: Mar 2009
Posts: 31
Rep Power: 17 |
Dear all what is
mesh.surfaceInterpolation::deltaCoeffs()? best regards |
|
July 7, 2005, 07:33 |
1/distance between cell centre
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
1/distance between cell centres across the faces (with adjustment for non-orthogonality).
|
|
July 7, 2005, 07:53 |
I am afraid that these values
|
#3 |
Member
Marco Kupiainen
Join Date: Mar 2009
Posts: 31
Rep Power: 17 |
I am afraid that these values are not computed correctly in my 1D application. I have a uniform mesh [-5,5] with 1000 cells generated with blockMesh, which would mean that mesh.surfaceInterpolation::deltaCoeffs() should be uniformly 100, but instead
DeltaCoeffs= dimensions [0 -1 0 0 0 0 0]; internalField nonuniform List<scalar> 999 ( 40956.7 40915.3 40873.9 40832.5 40791.1 40749.8 40708.4 40667 40625.6 40584.2 .... 611.791 572.431 533.179 494.062 455.114 416.384 377.936 339.869 302.324 265.524 229.827 195.835 164.614 138.068 119.387 ) ; boundaryField { left { type calculated; value uniform -21966.1; } right { type calculated; value uniform 225.004; } empty { type empty; } } which is wrong. I tested also for a 2D grid, but here the output is correct. What are boundaryFields used for? For the 2D grid these values are twice the internalfield. Is the problem in blockMesh or elsewhere you think? my blockMeshDict looks like convertToMeters 1; vertices ( (-5 0 0) (5 0 0) (5 0.01 0) (-5 0.01 0) (-5 0 0.01) (5 0 0.01) (5 0.01 0.01) (0 0.01 0.01) ); blocks ( hex (0 1 2 3 4 5 6 7) (1000 1 1) simpleGrading (1 1 1) ); edges ( ); patches ( patch left ( (0 4 7 3) ) patch right ( (1 2 6 5) ) empty empty ( (0 1 5 4) (5 6 7 4) (3 7 6 2) (0 3 2 1) ) ); mergePatchPairs ( ); best regards |
|
July 7, 2005, 08:56 |
Hi,
Have you checked, loook
|
#4 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
Hi,
Have you checked, loooked at, your mesh? It looks, to me, like the last point is incorrect/misplaced. Which, again to me, is indicated by these values not being what you expect. N |
|
July 7, 2005, 09:25 |
Correct, my mistake. Thank you
|
#5 |
Member
Marco Kupiainen
Join Date: Mar 2009
Posts: 31
Rep Power: 17 |
Correct, my mistake. Thank you Niklas!
Now it works, but I'm still puzzeled about the boundary values. Why are they twice the inner values? |
|
|
|