How to apply the boundary condition as DERIVATIVE in FlexPDE

General discussions about how to formulate a script for FlexPDE.

How to apply the boundary condition as DERIVATIVE in FlexPDE

Postby nit on Fri Mar 24, 2017 4:53 pm

Dear All

I want to solve the following ordinary differential equation related to deflection of the cantilever beam.
dxx(w)=-P*x/E/I
BC1: w=0 at x=0
BC2: dw/dx=0 at x=0
I cannot impose the boundary condition BC2 correctly.
------------------------------------------------------------------------------
TITLE 'Cantilever Beam' { the problem identification }
COORDINATES cartesian1 { coordinate system, 1D,2D,3D, etc }
VARIABLES
W
H

DEFINITIONS

L=1
P=200
E=70e9
I=1/12*0.03^4
ans_analytical=-(1/6)*P*x^3/(E*i)

EQUATIONS { PDE's, one for each variable }
H: H=dx(w)
W: dx(H)=-P*x/E/I

BOUNDARIES { The domain definition }
REGION 'domain' { For each material region }
START(0) { Walk the domain boundary }
point value (w)=0
point value (H)=0
LINE TO (L)

MONITORS { show progress }
PLOTS { save result displays }
elevation (w,ans_analytical) from (0) to (L) as "deflection"
END
----------------------------------------------
Why my script is not resulted in the correct solution?
How can I apply “Natural (Or load) Boundary condition” to solve my problem?
How can I impose boundary condition as DERIVATIVE in FlexPDE?


Thanks in advanced
nit
 
Posts: 1
Joined: Fri Mar 24, 2017 4:28 pm

Return to FlexPDE Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron