Can I define integral BC? Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Can I define integral BC? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Ivan Ivanov (ivan)
New member
Username: ivan

Post Number: 1
Registered: 11-2008
Posted on Wednesday, November 26, 2008 - 10:56 am:   

Hello everyone,

could you please explain if there is a possibility to define an integral BC in FlexPDE. For example, I have a line boundary and I know the integral of a gradient of this variable on this line. I don't know the vlue of a variable in every point but an integral of values of this variable over the whole line. Can I define that? Thanks.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 1189
Registered: 06-2003
Posted on Wednesday, November 26, 2008 - 01:56 pm:   

You can apply an integral Constraint to a boundary.
See "Constraints" in the Help Index and sample problems
Samples|Misc|Constraints|Bdry_Constraint.pde
Samples|Misc|Constraints|3D_Surf_Constraint.pde

The imposition of a boundary constraint may not be sufficient to make the solution unique, as there may be many solutions with the same integral.
Top of pagePrevious messageNext messageBottom of page Link to this message

Ivan Ivanov (ivan)
New member
Username: ivan

Post Number: 2
Registered: 11-2008
Posted on Thursday, November 27, 2008 - 06:21 am:   

Dear Robert,
thank you for your reply. Could you please answer one more question.
I also need to make the value of the variable fixed on a line. I mean that the variable can vary in time but it is always the same in every point of a boundary. Can I do that?
Top of pagePrevious messageNext messageBottom of page Link to this message

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

Post Number: 89
Registered: 07-2007
Posted on Thursday, November 27, 2008 - 02:51 pm:   

If you know the time-dependent value function, you can simply state the value boundary condition.
e.g. VALUE(u)= 3*t+5

If you do not know the value but wish to calculate it, you can use a GLOBAL VARIABLE. State the function in terms of the global variable and provide equations for the global in the EQUATIONS section. See "GLOBAL VARIABLES" in the Help index and the example "Samples | Misc | Heaterti.pde"

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration