|
[Sponsors] |
October 5, 2015, 13:30 |
Define_dpm_bc
|
#1 |
New Member
ehsan
Join Date: Oct 2015
Location: tehran
Posts: 26
Rep Power: 11 |
in
DEFINE_DPM_BC What is the purpose of the highlighted؟ |
|
October 5, 2015, 18:58 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
This code snippet is from the UDF manual (an example for the DEFINE_DPM_BC macro). They're evaluating the Weber number which requires the relative velocity between the particle and wall. The highlighted line calculates the face velocity on a moving boundary (using the moving/deforming mesh model).
|
|
October 6, 2015, 09:39 |
thank you
|
#3 |
New Member
ehsan
Join Date: Oct 2015
Location: tehran
Posts: 26
Rep Power: 11 |
I'm looking for other example of DEFINE_DPM_BC.
are you can help me? |
|
October 6, 2015, 18:13 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Have you read the UDF manual and tried their examples? What are you trying to achieve with the boundary condition?
|
|
October 8, 2015, 19:07 |
|
#5 | |
New Member
ehsan
Join Date: Oct 2015
Location: tehran
Posts: 26
Rep Power: 11 |
Quote:
dear my friend thanks for your response, yes, I have red the examples of udf manual, and also have been trying to learn this code, I really require more examples to increase my information on this field of study, I was wondering if you could give me more examples and some evidence helping me learn UDF of DPM field. |
||
October 12, 2015, 06:07 |
|
#6 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
You learn the most from making examples, not from reading examples. Try to make a bc where particles are reflected 50% of the time, and stick the other 50%. Or let them stick if the velocity is below 1 m/s, and reflect with (initial velocity-1m/s) otherwise. And if you run into problems, ask here.
|
|
November 10, 2015, 15:31 |
hi sir
|
#7 | |
New Member
ehsan
Join Date: Oct 2015
Location: tehran
Posts: 26
Rep Power: 11 |
Quote:
|
||
November 12, 2015, 05:36 |
|
#8 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Yes, of course you can ask. Put your question here and we will see if we can give an answer.
|
|
November 16, 2015, 03:46 |
|
#9 |
New Member
t.z
Join Date: Nov 2015
Posts: 1
Rep Power: 0 |
||
November 16, 2015, 09:21 |
|
#10 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Maybe, it depends on what your problem is. Show your code, explain the problem, and we can try to help.
|
|
|
|