In D3Q27_PF_VELOCITY model , how to calculate the forces , viscous force,pressure force in paraview? #532
Replies: 3 comments 15 replies
-
|
I assume @TravisMitchell will be the best person to answer. But general notes: Can you elaborate what you mean by the surface-tension forces here? |
Beta Was this translation helpful? Give feedback.
-
|
F_mu[0] = (0.5-tau) * (Density_h-Density_l) * (stress[0]*gradPhi.x + stress[1]*gradPhi.y + stress[2]*gradPhi.z); i have added these things in the force section for calculating the forces in the paraview.So does it work? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @engparth-cmd do you have your own Fork of the code that I can view this on? I think one thing to consider is in the getFm function, there is a dependence of F on U and U also depends on F -> in the code you can see this that there is a fixed point iterator that runs this calculation a couple of times to try and cater for the implicit relationship here. I think you have perhaps removed this in your function above. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the D3Q27_PF_VELOCITY model to simulate a droplet impacting an inclined surface. I want to calculate the surface-tension and gravitational forces as the droplet slides. To see these values in ParaView, should I add a global function in Dynamics.R or i will have to implement it in .xml file using R ?
Beta Was this translation helpful? Give feedback.
All reactions