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 could I bulid "*.xml" material properites file in Comsol3.5a?
Posted 14 ago 2010, 22:29 GMT-4 3 Replies
Please login with a confirmed email address before reporting spam
Here is content of the file.
<?xml version="1.0" encoding="UTF-8" ?>
- <lib type="class">
<name>Gold (Johnson and Christy)</name>
- <version type="class">
<name>COMSOL 3.5</name>
<ext>a</ext>
</version>
- <mat type="array">
- <object type="class">
<name>Gold</name>
- <variables type="class">
<sigma>0</sigma>
<epsilonr>jcEpsReal(nu_rfweh)-j*jcEpsImag(nu_rfweh)</epsilonr>
</variables>
- <functions type="array">
- <object type="class">
<type>interp</type>
<name>jcEpsReal</name>
<method>linear</method>
<extmethod>NaN</extmethod>
<x type="stringarray">{"1.5475131E14","1.8618517E14","2.1520105E14","2.4663491E14","2.7565078E14","3.0466665E14","3.3610051E14","3.6511638E14","3.9655024E14","4.2556611E14","4.5458199E14","4.8601585E14","5.1503172E14","5.4646558E14","5.7548145E14","6.0449732E14","6.3595118E14","6.6494705E14","6.9638091E14","7.2539679E14","7.5441266E14","7.8584652E14","8.1486239E14","8.4629625E14","8.7531212E14","9.0432799E14","9.3576185E14","9.6477772E14","9.9621159E14","1.0252275E15","1.0542433E15","1.0856772E15","1.1146931E15","1.1461269E15","1.1751428E15","1.2041587E15","1.2355925E15","1.2646084E15","1.2960423E15","1.3250581E15","1.354074E15","1.3855079E15","1.4145237E15","1.4459576E15","1.4749735E15","1.5039893E15","1.5354232E15","1.5644391E15","1.5958729E15"}</x>
<data type="stringarray">{"-189.042","-125.3505","-90.426461","-66.218525","-51.0496","-40.2741","-32.040669","-25.811289","-20.610164","-16.817709","-13.648209","-10.661884","-8.112669","-5.842125","-3.946161","-2.278289","-1.702701","-1.758996","-1.692204","-1.702164","-1.649404","-1.604889","-1.400625","-1.231956","-1.310241","-1.169489","-1.230804","-1.242549","-1.227421","-1.306784","-1.332261","-1.366509","-1.346409","-1.236501","-1.080444","-0.891261","-0.744529","-0.616896","-0.551009","0.4155","-0.346329","-0.233769","-0.1325","-0.010416","0.138171","0.203899","0.292524","0.295191","0.227056"}</data>
</object>
- <object type="class">
<type>interp</type>
<name>jcEpsImag</name>
<method>linear</method>
<extmethod>NaN</extmethod>
<x type="stringarray">{"1.5475131E14","1.8618517E14","2.1520105E14","2.4663491E14","2.7565078E14","3.0466665E14","3.3610051E14","3.6511638E14","3.9655024E14","4.2556611E14","4.5458199E14","4.8601585E14","5.1503172E14","5.4646558E14","5.7548145E14","6.0449732E14","6.3595118E14","6.6494705E14","6.9638091E14","7.2539679E14","7.5441266E14","7.8584652E14","8.1486239E14","8.4629625E14","8.7531212E14","9.0432799E14","9.3576185E14","9.6477772E14","9.9621159E14","1.0252275E15","1.0542433E15","1.0856772E15","1.1146931E15","1.1461269E15","1.1751428E15","1.2041587E15","1.2355925E15","1.2646084E15","1.2960423E15","1.3250581E15","1.354074E15","1.3855079E15","1.4145237E15","1.4459576E15","1.4749735E15","1.5039893E15","1.5354232E15","1.5644391E15","1.5958729E15"}</x>
<data type="stringarray">{"25.3552","12.5552","8.18634","5.7015"," 3.861"," 2.794","1.92542","1.62656","1.27176","1.06678","1.03516","1.37424","1.66054"," 2.1113","2.58044","3.81264","4.84438","5.28264"," 5.6492","5.71736","5.73888","5.64436"," 5.6092"," 5.598","5.53816","5.42568","5.84584","5.79258","5.78034","5.59644","5.49486","5.28242","4.97628"," 4.7223","4.49008","4.33846","4.16328","4.05504"," 3.8922"," 3.8252","03.7102"," 3.6062"," 3.51"," 3.3904","3.39682","3.32766","3.28568","3.17592","3.04128"}</data>
</object>
</functions>
</object>
- <object type="class">
<name>Ge</name>
- <variables type="class">
<n>nReal(nu_rfweh)-j*nImag(nu_rfweh)</n>
</variables>
- <functions type="array">
- <object type="class">
<type>interp</type>
<name>nReal</name>
<method>linear</method>
<extmethod>NaN</extmethod>
<x type="stringarray">{"1.20883E14","1.33004E14","1.45106E14","1.57205E14","1.69277E14","1.81361E14","1.93413E14","2.05476E14","2.17554E14","2.29724E14","2.41766E14","2.53844E14","2.66007E14","2.78098E14","2.90213E14","3.02238E14","3.14344E14","3.26426E14","3.38516E14","3.50591E14","3.62678E14","3.74784E14","3.86876E14","3.98975E14","4.11065E14","4.23133E14","4.35235E14","4.47314E14","4.59448E14","4.71516E14","4.8361E14","4.95685E14","5.07774E14","5.19837E14","5.3192E14","5.44083E14","5.56093E14","5.68215E14","5.80314E14","5.92353E14","6.04537E14","6.16598E14","6.28622E14","6.40714E14","6.52853E14","6.6487E14","6.77033E14","6.89172E14","7.01263E14","7.13276E14","7.25357E14","7.37491E14","7.49662E14","7.61662E14","7.73652E14","7.85819E14","7.9795E14","8.10024E14","8.22018E14","8.3414E14","8.46386E14","8.58259E14","8.7047E14","8.82514E14","8.94628E14","9.06806E14","9.18756E14","9.31025E14","9.43032E14","9.55049E14","9.67065E14","9.79386E14","9.91369E14","1.00331E15","1.01555E15","1.02773E15","1.03985E15","1.05189E15","1.06384E15","1.07606E15","1.08817E15","1.10015E15","1.11239E15","1.12449E15","1.13643E15","1.14862E15","1.16063E15","1.17289E15","1.18494E15","1.19677E15","1.20883E15","1.22114E15","1.2332E15","1.24549E15","1.25751E15","1.26922E15","1.2817E15","1.29387E15","1.30571E15","1.31776E15","1.33004E15","1.34194E15","1.35407E15","1.36641E15","1.37834E15","1.39049E15","1.4022E15","1.41477E15","1.42689E15","1.43853E15","1.45106E15"}</x>
<data type="stringarray">{"4.074","4.086","4.104","4.13312","4.18","4.23163","4.275","4.28344","4.285","4.30187","4.325","4.35531","4.385","4.40156","4.42","4.45563","4.495","4.52637","4.56","4.60369","4.653","4.70544","4.763","4.82625","4.897","4.97619","5.067","5.17275","5.294","5.44519","5.588","5.71544","5.748","5.53931","5.283","5.17169","5.062","4.83906","4.61","4.45675","4.34","4.24925","4.18","4.12394","4.082","4.05225","4.035","4.03025","4.037","4.05594","4.082","4.11331","4.141","4.1545","4.157","4.14713","4.128","4.10031","4.07","4.04356","4.02","4.00106","3.985","3.97069","3.958","3.94631","3.936","3.92756","3.92","3.91375","3.905","3.89381","3.869","3.83019","3.745","3.58513","3.338","2.93675","2.516","2.19769","1.953","1.80969","1.72","1.64394","1.586","1.53756","1.498","1.46356","1.435","1.41206","1.394","1.37981","1.37","1.36506","1.364","1.36638","1.371","1.37763","1.383","1.3835","1.38","1.37294","1.36","1.34006","1.31","1.26269","1.209","1.1575","1.108","1.0625","1.023"}</data>
</object>
- <object type="class">
<type>interp</type>
<name>nImag</name>
<method>linear</method>
<extmethod>NaN</extmethod>
<x type="stringarray">{"1.20883E14","1.33004E14","1.45106E14","1.57205E14","1.69277E14","1.81361E14","1.93413E14","2.05476E14","2.17554E14","2.29724E14","2.41766E14","2.53844E14","2.66007E14","2.78098E14","2.90213E14","3.02238E14","3.14344E14","3.26426E14","3.38516E14","3.50591E14","3.62678E14","3.74784E14","3.86876E14","3.98975E14","4.11065E14","4.23133E14","4.35235E14","4.47314E14","4.59448E14","4.71516E14","4.8361E14","4.95685E14","5.07774E14","5.19837E14","5.3192E14","5.44083E14","5.56093E14","5.68215E14","5.80314E14","5.92353E14","6.04537E14","6.16598E14","6.28622E14","6.40714E14","6.52853E14","6.6487E14","6.77033E14","6.89172E14","7.01263E14","7.13276E14","7.25357E14","7.37491E14","7.49662E14","7.61662E14","7.73652E14","7.85819E14","7.9795E14","8.10024E14","8.22018E14","8.3414E14","8.46386E14","8.58259E14","8.7047E14","8.82514E14","8.94628E14","9.06806E14","9.18756E14","9.31025E14","9.43032E14","9.55049E14","9.67065E14","9.79386E14","9.91369E14","1.00331E15","1.01555E15","1.02773E15","1.03985E15","1.05189E15","1.06384E15","1.07606E15","1.08817E15","1.10015E15","1.11239E15","1.12449E15","1.13643E15","1.14862E15","1.16063E15","1.17289E15","1.18494E15","1.19677E15","1.20883E15","1.22114E15","1.2332E15","1.24549E15","1.25751E15","1.26922E15","1.2817E15","1.29387E15","1.30571E15","1.31776E15","1.33004E15","1.34194E15","1.35407E15","1.36641E15","1.37834E15","1.39049E15","1.4022E15","1.41477E15","1.42689E15","1.43853E15","1.45106E15"}</x>
<data type="stringarray">{"0","0","0","0.00315","2.8E-4","0.00131","0.00567","0.04002","0.0745","0.08062","0.0809","0.0911","0.103","0.11163","0.123","0.14481","0.167","0.1745","0.19","0.2425","0.298","0.32475","0.345","0.36975","0.401","0.44538","0.5","0.55675","0.638","0.75031","0.933","1.276","1.634","1.8685","2.049","2.20087","2.318","2.40775","2.455","2.43275","2.384","2.34638","2.309","2.2735","2.24","2.20875","2.181","2.1565","2.14","2.13556","2.145","2.1725","2.215","2.27381","2.34","2.40544","2.469","2.52656","2.579","2.62413","2.667","2.712","2.759","2.80906","2.863","2.92156","2.986","3.05675","3.137","3.22856","3.336","3.46275","3.614","3.79775","4.009","4.27256","4.507","4.64238","4.669","4.51419","4.297","4.12094","3.96","3.82594","3.709","3.60375","3.509","3.42206","3.342","3.26681","3.197","3.13219","3.073","3.02","2.973","2.93144","2.897","2.8715","2.854","2.84506","2.842","2.842","2.846","2.85581","2.866","2.87338","2.873","2.856","2.831","2.80225","2.774"}</data>
</object>
</functions>
</object>
</mat>
</lib>
Hello Zhe Wang
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.