Why the mesh changes accordingly to g... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Why the mesh changes accordingly to given boundary condition function: « Previous Next »

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

f. e. k. (faysal)
Junior Member
Username: faysal

Post Number: 3
Registered: 03-2007
Posted on Wednesday, March 07, 2007 - 03:10 pm:   

When resolving a pde equations :


L: div( k*grad(L) - k_i*grad(L_i) ) = 0
L_i: div( k*grad(L_i) + k_i*grad(L) ) = 0

with Natural conditions :

Natural(L) =givenvalue1 (x,y,z)
Natural(L_i) = givenvalue2 (x,y,z).

We have observed that flexpde generated different number of cells ( then meshes) accordingly to the chosen functions givenvalue1(x,y,z) and givenvalue1(x,y,z) values.

How to keep the same mesh while changing the givenvalue1(x,y,z) and givenvalue1(x,y,z) values.
As we need to test a set of functions over the same mesh.


Thank you,

F & T.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 780
Registered: 06-2003
Posted on Wednesday, March 07, 2007 - 03:27 pm:   

The principle of FlexPDE is that the mesh should be refined until the solution is within the given error tolerance. Input conditions that create sharper curvatures of the solution will refine the grid more. This is all part of "getting the answer".

However, there are several ways you can defeat the default behavior:

1) SELECT REGRID=OFF
This will compute a solution on the initial mesh and stop, regardless of the estimated error. Use manual mesh control options NGRID, MESH_SPACING, etc, to create the reference mesh you want to use.

2) Run the problem once with TRANSFER output. Then on subsequent runs import the mesh with TRANSFERMESH and turn of the REGRID as above. Then all subsequent runs will use the final refined mesh of the first run.

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