FATAL ERROR: unrecognized tag "MeshData"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • MiguelA
    Junior Member
    • Mar 2017
    • 18

    FATAL ERROR: unrecognized tag "MeshData"

    According to the documentation (http://help.mrl.sci.utah.edu/help/to....html?cp=2_2_8) I should be able to specify MeshData but when I try I get the error:

    FATAL ERROR: unrecognized tag "MeshData"

    This is the code that I have, which is almost a copy-paste of the documentation:
    Code:
        ...
        </Geometry>
        <MeshData>
             <ElementData var="shell thickness" elem_set="part1">
                   <elem lid="1">0.01,0.01,0.01,0.01</elem>
                   <elem lid="2">0.01,0.01,0.01,0.01</elem>
                   <elem lid="3">0.01,0.01,0.01,0.01</elem>
                   <elem lid="4">0.01,0.01,0.01,0.01</elem>
                   ...
                   <elem lid="17">0.01,0.01,0.01,0.01</elem>
                   <elem lid="18">0.01,0.01,0.01,0.01</elem>
                   <elem lid="19">0.01,0.01,0.01,0.01</elem>
                   <elem lid="20">0.01,0.01,0.01,0.01</elem>
             </ElementData >
        </MeshData>
        <Boundary>
        ...
    PS: I'm running Version 2.7.0
  • maas
    Lead Code Developer
    • Nov 2007
    • 3400

    #2
    Hi,

    This looks good to me. I'm not sure why you would get that error. Some things to check: Does the element set "part1" exist? Are the elements indeed quads? Does the number of elem tags exceed the size of the element set? If you can't find the problem, can you please share the entire FEBio input file? That way, I can try to replicate the problem on my end and have a better idea of what's going on.

    Cheers,

    Steve
    Department of Bioengineering, University of Utah
    Scientific Computing and Imaging institute, University of Utah

    Comment

    • MiguelA
      Junior Member
      • Mar 2017
      • 18

      #3
      I can't fully see the results in postview because I updated FEBio but not postview and aparently the new FEBio 2.7.0 results can't be read by Postview 1.10.2. I would update postview but the website doesn't seem to be working now.

      In any case, the following code exhibits the error but if the old method for thickness is used it works

      Code:
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <febio_spec version="2.0">
      	<Globals>
      		<Constants>
      			<T>0</T>
      			<R>0</R>
      			<Fc>0</Fc>
      		</Constants>
      	</Globals>
      	<Material>
      		<material id="1" name="Material2" type="solid mixture">
      			<solid type="Mooney-Rivlin">
      				<density>1</density>
      				<c1>10</c1>
      				<c2>0</c2>
      				<k>10000</k>
      			</solid>
      		</material>
      	</Material>
      	<Geometry>
      		<Nodes>
      			<node id="1"> 0.0000000e+000, 0.0000000e+000, 0.0000000e+000</node>
      			<node id="2"> 0.0000000e+000, 1.0000000e+000, 0.0000000e+000</node>
      			<node id="3"> 1.0000000e+000, 0.0000000e+000,-1.0000000e-001</node>
      			<node id="4"> 1.0000000e+000, 1.0000000e+000,-1.0000000e-001</node>
      			<node id="5"> 2.0000000e+000, 0.0000000e+000, 0.0000000e+000</node>
      			<node id="6"> 2.0000000e+000, 1.0000000e+000, 0.0000000e+000</node>
      		</Nodes>
      		<Elements type="quad4" mat="1" elset="part1">
      			<elem id="1">     1,     3,     4,     2</elem>
      			<elem id="2">     3,     5,     6,     4</elem>
      		</Elements>
      		<!-- <ElementData> -->
      			<!-- <element id="1"> -->
      				<!-- <thickness>0.01,0.01,0.01,0.01</thickness> -->
      			<!-- </element> -->
      			<!-- <element id="2"> -->
      				<!-- <thickness>0.01,0.01,0.01,0.01</thickness> -->
      			<!-- </element> -->
      		<!-- </ElementData> -->
      		<NodeSet name="Bound">
      			<node id="1"/>
      			<node id="2"/>
      			<node id="5"/>
      			<node id="6"/>
      		</NodeSet>
      		<NodeSet name="FixedNodeset01">
      			<node id="1"/>
      			<node id="2"/>
      			<node id="5"/>
      			<node id="6"/>
      		</NodeSet>
      	</Geometry>
          <MeshData>
               <ElementData var="shell thickness" elem_set="part1">
                     <elem lid="1">0.01,0.01,0.01,0.01</elem>
                     <elem lid="">0.01,0.01,0.01,0.01</elem>
               </ElementData >
          </MeshData>    
      	<Boundary>
      		<fix bc="xyz" set="FixedNodeset01"/>
      	</Boundary>
      	<LoadData>
      		<loadcurve id="1" type="step">
      			<point>0,0</point>
      			<point>1,1</point>
      		</loadcurve>
      		<loadcurve id="2" type="smooth">
      			<point>0,0</point>
      			<point>1,1</point>
      		</loadcurve>
      	</LoadData>
      	<Output>
      		<plotfile type="febio">
      			<var type="displacement"/>
      			<var type="stress"/>
      		</plotfile>
      	</Output>
      	<Step name="Step01">
      		<Module type="solid"/>
      		<Control>
      			<time_steps>100</time_steps>
      			<step_size>0.01</step_size>
      			<max_refs>15</max_refs>
      			<max_ups>0</max_ups>
      			<dtol>0.001</dtol>
      			<etol>0.01</etol>
      			<rtol>0</rtol>
      			<lstol>0.9</lstol>
      			<time_stepper>
      				<dtmin>1e-005</dtmin>
      				<dtmax lc="1"></dtmax>
      				<max_retries>10</max_retries>
      				<opt_iter>10</opt_iter>
      				<aggressiveness>1</aggressiveness>
      			</time_stepper>
      			<analysis type="static"/>
      		</Control>
      		<Loads>
      			<surface_load type="pressure">
      				<pressure lc="2">0.3</pressure>
      				<linear>0</linear>
      				<surface>
      					<quad4 id="1">     1,     3,     4,     2</quad4>
      					<quad4 id="2">     3,     5,     6,     4</quad4>
      				</surface>
      			</surface_load>
      		</Loads>
      	</Step>
      </febio_spec>

      Comment

      • maas
        Lead Code Developer
        • Nov 2007
        • 3400

        #4
        The problem is that the version of this file is 2.0, but the MeshData section is only supported in the 2.5 version. You'll need to generate a file that conforms to the 2.5 format specification if you want to use the MeshData section.

        We're not aware of a problem with the download page. In fact, I just tried to download the PostView zip file and did not have any problems. Try clearing your cache and try again. If you still have problems, let us know what errors you are getting and I'll forward your issue to our web tech.

        Cheers,

        Steve
        Department of Bioengineering, University of Utah
        Scientific Computing and Imaging institute, University of Utah

        Comment

        • MiguelA
          Junior Member
          • Mar 2017
          • 18

          #5
          Just tried with version 2.5 and it worked. Any reason why preview exports by default to 2.0?

          Can you access the website?


          I just get an empty webpage with the word error printed. I cleared the cache and restarted.

          Comment

          • maas
            Lead Code Developer
            • Nov 2007
            • 3400

            #6
            I suspect you don't have the latest PreView 2.0. That one by default exports to 2.5.

            I can access the febio website just fine. What browser and OS are you using?

            Steve
            Department of Bioengineering, University of Utah
            Scientific Computing and Imaging institute, University of Utah

            Comment

            • MiguelA
              Junior Member
              • Mar 2017
              • 18

              #7
              It must be something related to my IP because in private mode it still doesn't work, but if I use a proxy it works.

              Comment

              Working...
              X
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎