export then import a refined mesh Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » export then import a refined mesh « Previous Next »

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

Benjamin Kaplan (kaplan)
Member
Username: kaplan

Post Number: 6
Registered: 08-2003
Posted on Thursday, August 11, 2005 - 06:42 am:   

Dear RG Nelson,
I would like to know if it's possible to export a refined mesh (obtained after n meshes stages FOR TOUGH boundary conditions and low errlim...that could take a long time), and then, to import this refined mesh to solve the problem directly with a great accuracy, without any further mesh refinement calculations, considering now LESS DEMANDING boundary conditions.
I want, with this procedure, to gain the time which is used to check and adapt each successive meshes, when only the last optimized mesh lead to the solution; and this is also a way to solve the problem with the same mesh for different boundary conditions.
Best regards.
Ben Kaplan
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 426
Registered: 06-2003
Posted on Thursday, August 11, 2005 - 05:21 pm:   

Use a TRANSFER() command to export the mesh from your staged problem. You will get a set of output files with stage numbers appended to the file name.

Then import the selected mesh file into the second run using TRANSFERMESH.

The geometry of the importing problem must be identical to that of the exporting one, but the boundary conditions can be different.
Top of pagePrevious messageNext messageBottom of page Link to this message

Benjamin Kaplan (kaplan)
Member
Username: kaplan

Post Number: 7
Registered: 08-2003
Posted on Wednesday, August 17, 2005 - 07:49 pm:   

Thank you very much for the help.
I have followed your advices. When importing the 'mesh.dat' into an identical .pde file to the one that has produced the mesh (after n regriding), I have the following error message during the calculation of the mesh:
"node 2 duplicates node 291 ! Mesh is tangled near (x,y)"
when clicking "continue" the program works well.
I have two questions:

1/- why this error message occurs when running the pde file that import the mesh even when this error message has not appeared previously when running the pde file that generate the mesh.dat file ?

2/- Is it possible, when running a batch file , to continue automatically the run, considering that the program must CONTINUE when "tangled mesh" error message occurs (without a user Click!).
Best Regards.
Ben KAPLAN

(I use actually version 5.0.2)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 429
Registered: 06-2003
Posted on Thursday, August 18, 2005 - 02:15 pm:   

1. Is there a contact boundary in the mesh? There is a bug in importing meshes with contact boundaries.

2. There is no batch-mode override on error reports. We assume we cannot continue in the presence of mesh errors. In your case, you were able to continue without disaster, but in the general case we don't know that to be true.

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