CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

What is meshsurfaceInterpolationdeltaCoeffs

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By henry

Reply
 
LinkBack Thread Tools Display Modes
Old   July 7, 2005, 07:29
Default Dear all what is mesh.surface
  #1
Member
 
Marco Kupiainen
Join Date: Mar 2009
Posts: 31
Rep Power: 7
kupiainen is on a distinguished road
Dear all what is
mesh.surfaceInterpolation::deltaCoeffs()?
best regards
kupiainen is offline   Reply With Quote

Old   July 7, 2005, 07:33
Default 1/distance between cell centre
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 12
henry is on a distinguished road
1/distance between cell centres across the faces (with adjustment for non-orthogonality).
hua1015 likes this.
henry is offline   Reply With Quote

Old   July 7, 2005, 07:53
Default I am afraid that these values
  #3
Member
 
Marco Kupiainen
Join Date: Mar 2009
Posts: 31
Rep Power: 7
kupiainen is on a distinguished road
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
kupiainen is offline   Reply With Quote

Old   July 7, 2005, 08:56
Default Hi, Have you checked, loook
  #4
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 692
Rep Power: 18
niklas will become famous soon enough
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
niklas is offline   Reply With Quote

Old   July 7, 2005, 09:25
Default Correct, my mistake. Thank you
  #5
Member
 
Marco Kupiainen
Join Date: Mar 2009
Posts: 31
Rep Power: 7
kupiainen is on a distinguished road
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?
kupiainen is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 22:27.