Can I define variable value near boun... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Can I define variable value near boundary? « Previous Next »

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

Yasuo Hira (jun)
Member
Username: jun

Post Number: 9
Registered: 12-2007
Posted on Tuesday, November 25, 2008 - 02:57 am:   

Dear Mr. Nelson

I want to define the variable value near a boundary. Is it possible to define? If possible how can I define it?
Top of pagePrevious messageNext messageBottom of page Link to this message

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

Post Number: 86
Registered: 07-2007
Posted on Tuesday, November 25, 2008 - 02:17 pm:   

You can apply boundary conditions only on REGION boundaries or FEATURES. You will have to add another region or a feature in order to apply the value. You can also use a source or sink term in your PDE to drive the variable to the desired value.

I should point out that in applying a VALUE condition at a location, this becomes a defacto 'boundary' to the PDE.
Top of pagePrevious messageNext messageBottom of page Link to this message

Yasuo Hira (jun)
Member
Username: jun

Post Number: 10
Registered: 12-2007
Posted on Tuesday, November 25, 2008 - 11:17 pm:   

Dear Mr. Nelson

What I wrote was not accurate. My problem is to define a boundary condition near certain boundary. Such as

Natural(Co2) = -k*Co2,surface

Where, Co2 is concentration of oxygenand eCo2,surfacef is concentration of oxygen near boundary.

It seems that if I set another region near boundary and define another local oxygen concentration as another variable, such as Co2surface, current version doesnft allow us such definition.

In version 6 announcement it is written 'Regionally Inactive Variables -Variables can be declared inactive in some regions and active in others. e.

So is it possible to write such way in next version?
Top of pagePrevious messageNext messageBottom of page Link to this message

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

Post Number: 87
Registered: 07-2007
Posted on Wednesday, November 26, 2008 - 02:12 pm:   

You can state a boundary condition as

NATURAL(Co2) = -k*Co2

The right hand side will be evaluated at the boundary.
Top of pagePrevious messageNext messageBottom of page Link to this message

Yasuo Hira (jun)
Member
Username: jun

Post Number: 11
Registered: 12-2007
Posted on Wednesday, November 26, 2008 - 09:38 pm:   

Mr. Nelson

Now I could understand well.

You mean I can set my boundary condition like above in current version.

I appreciate your co-operation.
Top of pagePrevious messageNext messageBottom of page Link to this message

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

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

Yes, the above BC is valid in all versions of FlexPDE.

I think we were just miscommunicating about the meaning of 'near'.

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