VtkDemandDrivenPipeline:713 ERR| vtkPVCompositeDataPipeline (0x556f782fe7c0): Input port 0 of algorithm vtkPPolyDataNormals(0x556f7a16b2a0) has 0 connections but is not optional. I have addressed the error I am facing from the line "generateSurfaceNormals1". Name: rouphsurface.jpg Type: image/jpeg Size: 50644 bytes Desc: not available Url : Loading Image. Thanks for the help adnan- next part -A non-text attachment was scrubbed. One way is to change the representation from 'Surface' to 'Point Gaussian'. I tried the normal generation filter but the surface still looks rough. There are numerous ways to show the points of a grid. SaveData('surf176.stl', proxy=extractSurface1, FileType='Ascii') Probably the particles are represented as the 'points' in the unstructured grid. Threshold1.ThresholdRange = ĮxtractSurface1 = ExtractSurface(Input=threshold1) Threshold1 = Threshold(Input=connectivity1) As the finite element mesh on one surface of a periodic pair can be. GenerateSurfaceNormals1.FeatureAngle = 15.0Ĭonnectivity1 = Connectivity(Input=generateSurfaceNormals1) The different solution files of HOMAT can be visualized by Paraview on the initial. # Properties modified on generateSurfaceNormals1 GenerateSurfaceNormals1 = GenerateSurfaceNormals(Input=mesh176_rightstl) Mesh176_rightstl = FindSource('mesh176_right.stl') (ParaViewBuildPath + "lib/python3.7/site-packages/vtkmodules") (ParaViewBuildPath + "lib/python3.7/site-packages") ParaViewBuildPath = "/home/ParaView-5.7.0/" How to save stl file? import sys #sys- append path Below is the snipped of the code where SaveData is used to save the file. The code is used as per the trace obtained from paraview. It runs perfectly, but it does not save the splitted mesh as needed. Now, I used the code in python to run it. I traced the method using python trace in paraview. Considering that Paravis module is an embedded Paraview in Salome-Meca, one can have a look to Paraview wiki for more advanced features.I used one stl file to split the stl using Paraview. Post-processing Filters menu is one of the most important feature to begin with Salome-Meca Paravis module. Point size can be adjusted after switching to representation Points. Try using them in IPython, by starting IPython with the switch -guiwx. We can for example display SIXX, corresponding to the stress tensor normal component in direction X. The mayavi.mlab module provides simple plotting functions to apply to numpy arrays, similar to matplotlib or matlab’s plotting interface. It should be now possible to access SIEF_ELGA field. To do so, select again the rmed original view in the pipeline browser, then in the main menu Filter -> Mechanics -> ELGA field To Point Sprite.Ī new Point representation view appears in the pipeline browser. As it is used at resolution time, SIEF_ELGA stress field is always present in a Code_Aster non-linear result, and thus more accurate that post-processed SIEF_ELNO or SIEF_NODE that may lead to interpolation smoothing side effects.īut as ELNO, ELGA fields cannot be displayed directly and a new entry should be created. Let’s select SIEQ_ELNO,Īnd choose Coloring by VMIS, to display equivalent von Mises stress field.ĮLGA corresponds to a field stored by element, one value for each element Gauss point. It should be now possible to access ELNO fields. Click on Apply button to display this field. To do so, select the rmed view in the pipeline browser, then in the main menu Filters -> Mechanics -> ELNO field To Surface.Ī new Surface view appears in the pipeline browser. These fields cannot be displayed directly, as it is shown in this picture:Ī new entry should be created. To amplify the deformed shape, use the Scale Factor slider-button and click Apply button again to validate the modifications.ĮLNO corresponds to a field stored by element, one value for each element node. Click on Apply button to display the wrapped field. ![]() To do so, select the rmed view in the pipeline browser, then in the main menu Filters -> Common -> Wrap By Vector.Ī new wrapped entry appears in the pipeline browser. But to show the deformed shape, one needs to create a new display data entry. Deformed ShapeĪs shown in previous posts, it is possible to show the displacement field as a magnitude scalar map. Let’s assume you already have followed this tutorial or by another way, got a Code_Aster rmed result file open in Paravis. ![]() ![]() This post presents some useful tricks to get started with Salome-Meca Pavavis module (or Paraview).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |