CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Morphology Divergence of a boundary patch field

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2015, 10:29
Default
  #41
Member
 
Fei Fan
Join Date: Jul 2013
Location: NanJing, China
Posts: 54
Rep Power: 13
Fanfei is on a distinguished road
Quote:
Originally Posted by ngj View Post
Well, the procedure is to consider one face at the time until you have reached a state, where all faces are less than the sliding angle. Therefore, I do not see any problems in which value to assign to a given point.

Kind regards,

Niels
Hi Niels:
I have a problem in my sand slide model.i use hl_corrected[facePoints_labels[pointi]] to corrected the displacemnet of points of face, which need to corrected. After the hl_corrected is computed, the value of PointDisplacement[facePoints_labels[pointi]] is calculated. and then the information of mesh is update.
I output the value of PointDisplacement[facePoints_labels[pointi]], it's ok. However, the mesh don't update. what's wrong with it?
******************code**************************** ********

forAll(facePoints_labels,points)
{
.......................
PointDisplacement[facePoints_labels[pointi]].y() +=hl_corrected[facePoints_labels[pointi]];
}
mesh.update();

************************************************** *****
Best regards
Fan fei
Fanfei is offline   Reply With Quote

Old   June 2, 2015, 12:48
Default
  #42
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hallo Fan Fei,

I am sorry, but your question is too detailed for me to be able to help. Since you already have moving meshes, I assume that you merely have a bug in your sand sliding model.

If you need help for developing and debugging your code, I suggest that you send me a private message, where you describe your needs.

Good luck,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   June 3, 2015, 10:46
Default
  #43
Member
 
Fei Fan
Join Date: Jul 2013
Location: NanJing, China
Posts: 54
Rep Power: 13
Fanfei is on a distinguished road
Quote:
Originally Posted by ngj View Post
Hallo Fan Fei,

I am sorry, but your question is too detailed for me to be able to help. Since you already have moving meshes, I assume that you merely have a bug in your sand sliding model.

If you need help for developing and debugging your code, I suggest that you send me a private message, where you describe your needs.

Good luck,

Niels
Hi Niels:
I have send a email to your niels.jacobsen@deltares.nl. can you find it?

kind regards
fan fei
Fanfei is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Given field does not correspond to patch david OpenFOAM Bugs 2 January 29, 2009 14:24
Gamma field on boundary patch tom OpenFOAM Post-Processing 0 March 23, 2008 07:56
Boundary condition vector field gradient from two sides of patch face quba OpenFOAM 0 December 12, 2007 06:26
Projection of field onto patch tehache OpenFOAM Running, Solving & CFD 0 May 7, 2007 03:24
velocity field divergence? gh FLUENT 0 July 6, 2005 12:10


All times are GMT -4. The time now is 05:12.