Calculating Local Interface Curvature for Fluid Dynamics Simulation

AI Thread Summary
The discussion focuses on calculating local interface curvature for fluid dynamics simulations using the boundary element method to solve the Laplace equation. The mean interface curvature is defined as 2H=div n, where n is the unit normal to the surface. A challenge arises when differentiating the scalar values of the unit normal, leading to confusion about the divergence calculation. The solution involves deriving a parabolic equation from three points along the interface, allowing for the calculation of curvature using the second derivative. The participant expresses appreciation for the forum as a valuable resource despite initially not receiving responses.
sam_the_man
Messages
2
Reaction score
0

Homework Statement


I am using the boundary element method to solve unknowns to the Laplace equation from classic potential flow theory for the time evolution of a fluid air interface. At each time step, I need to solve a material derivative equation numerically at every node along an interface to find the new velocity potential.

In order to calculate the material derivative, I need to calculate the local interface curvature (et al.).

Homework Equations



From text, the local (mean) interface curvature can be calculated as 2H=div n. Where H is the mean interface curvature and n is the unit normal to the surface.

The Attempt at a Solution


The divergence of a vector field is a somewhat trivial calculation, e.g.:
div F = (dF1/dx+dF2/dy+dF3/z) where each value of F is some function that can be differentiated (pde) (like x*y^2). So here is the problem/question, in the case of the unit normal, the values are scalar values (such as [1 0 1]'), therefore if I differentiate each of these values with respect to the independent variable the entire equation equals zero. No doubt I am missing something fundamental here, any advise would be greatly appreciated.
I've attached a very simple sketch of a local discretized interface with nodes, and a unit normal just to help visualize what I am working with.
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    2.3 KB · Views: 391
Last edited:
Physics news on Phys.org
I've figured this out and I'm going to answer my own question.

Rather than find the unit normal for the point, it is easier to find the equation for the "curve" of interest. In the diagram I attached, I could take 3 points two either side of where I have annotated the normal. From the location of these points I can formulate an equation for the curve from the parabolic equation y=ax^2+bx+c. Since I have three points, I can find the values for a b and c for example;

y_1=ax_1^2+bx_1+c
y_2=ax_2^2+bx_2+c
y_3=ax_3^2+bx_3+c

which can be solved numerous ways for a, b and c which in turn are plugged back into the original equation.

From this the curvature can be calculated as H(x)=abs(y")/[1+(y')^2]^(3/2) at any given point and for any curve equation.

Side note: I spend quite a bit of time on here as a "spectator" generally I stumble across this site while looking for little tidbits of info. Even though I didn't receive any response for my first try here, I would say keep up the good work. This is a great resource.
 
Last edited:
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top