Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

how to calculate the parameter values of a curve edge in mesh file

Hi guys,
I exported a mesh file from comsol. Can anyone tell me how to calculate the parameter values of a curve edge at two endpoints, respectively? Below is the mesh data of a circle:

# Major & minor version
0 1
1 # number of tags
# Tags
5 mesh1
1 # number of types
# Types
3 obj

# --------- Object 0 ----------

0 0 1
4 Mesh # class
2 # version
2 # sdim
14 # number of mesh points
0 # lowest mesh point index

# Mesh point coordinates
0.54004497593511991 -0.037779200720473034
1 0
0.70711341916808013 0.70710014314270009
0.18343216591831446 0.25870137743794869
0.24479262775166793 -0.3540242553652021
0.70710014314270009 -0.70711341916808013
-0.25920024933402869 0.33623073487269922
0 1
-0.20661414623779478 -0.28393003437540593
0 -1
-0.56571912320796292 -0.0007310878671271309
-0.70710014314270009 0.70711341916808013
-0.70711341916808013 -0.70710014314270009
-1 0

3 # number of element types

# Type #0

3 vtx # type name


1 # number of nodes per element
4 # number of elements
# Elements
1
7
9
13

1 # number of parameter values per element
0 # number of parameters
# Parameters

4 # number of geometric entity indices
# Geometric entity indices
3
2
1
0

0 # number of up/down pairs
# Up/down

# Type #1

3 edg # type name


2 # number of nodes per element
8 # number of elements
# Elements
2 1
1 5
7 2
5 9
11 7
9 12
12 13
13 11

2 # number of parameter values per element
8 # number of parameters
# Parameters
0.50000566589823847 1
0 0.50000566589823847
0 0.50000566589823847 <------ How to obtain them?
0.50000566589823847 1
0.50000566589823847 1
0 0.50000566589823847
0.50000566589823847 1
0 0.50000566589823847

Thanks!

0 Replies Last Post 2013年2月3日 GMT-0500上午10:53
COMSOL Moderator

Hello You Yaohui

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.