weili101 / Deep_Plates

Physics-guided neural network framework for elastic plates
MIT License
32 stars 10 forks source link

Operations for First and Second-Order Derivatives #4

Open fourlei07 opened 10 months ago

fourlei07 commented 10 months ago

Hello, I've noticed that there are some operations involved when calculating both first-order and second-order derivatives in your Example 1 - Uniaxial tension, PDE-based problem. Could you please explain why these operations are necessary?

def PDE(x, Net_u, func_u, Net_v, func_v):

_, _, _, du_xx, du_yy, du_xy = derivative(x, Net_u, func_u, '2') 
_, _, _, dv_xx, dv_yy, dv_xy = derivative(x, Net_v, func_v, '2')

du_xx, du_yy, du_xy = du_xx/a, du_yy*a/b**2, du_xy/b
dv_xx, dv_yy, dv_xy = dv_xx*b/a**2, dv_yy/b, dv_xy/a
weili101 commented 9 months ago

Hi, thanks for your interest in this work. Please see the explanation here. Someone asked the same question before.