report natural BC

General discussions about how to formulate a script for FlexPDE.

report natural BC

Postby Ruben on Tue Mar 14, 2017 11:39 am

Hi,

I want to have BC values on each boundary.
Can I report the values of "normal(+P)" somehow?

Below is a part of the script

REGION 2 'Grain1'
P=VECTOR(-0.000594904863344,-0.00105987297079)
START(2e-08,1.39789569568e-06)NATURAL(phi)=normal(+P)
LINE TO(2e-08,2.60191806423e-06)NATURAL(phi)=normal(+P)
LINE TO(4.4930859401e-07,2.20546552618e-06)NATURAL(phi)=normal(+P)
LINE TO(5.46861689739e-07,2.02305766332e-06)NATURAL(phi)=normal(+P)
LINE TO(5.32428938927e-07,1.89146653458e-06)NATURAL(phi)=normal(+P)
LINE TO CLOSE

With best regards,
Ruben
Ruben
 
Posts: 11
Joined: Fri Feb 12, 2016 3:38 am

Re: report natural BC

Postby moderator on Tue Mar 14, 2017 12:14 pm

If you name the boundary path, you can plot ELEVATION(normal(P)) on "path". Is that what you want?
You may need to put the definition of P in the DEFINITIONS section.
moderator
 
Posts: 686
Joined: Tue Jan 11, 2011 1:45 pm


Return to FlexPDE Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron