CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

visualize materials independently in a mergedMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2023, 07:28
Question visualize materials independently in a mergedMesh
  #1
New Member
 
Julia Docampo
Join Date: Jun 2013
Location: Barcelona, Spain
Posts: 14
Rep Power: 12
Xulia is on a distinguished road
Hello

I am trying to post-process a solution consisting of two bodies in contact using the tutorial "punch" in solids4foam:

punch.png

1. identify contact regions, loads, etc.
2. generate two meshes
3. mergeMeshes to have a single mesh
4. assign material properties to mesh using setCells


Although the mesh is merged, we still know the cells corresponding to each region (body1 & body 2). If I visualize it in paraview, I can only select boundary patches independently:

paraview.png


Is there a way to retrieve the original bodies (from the cellSets) and visualize independently body1 and body2 ?
I apologize if the answer is obvious. I have tried using splitMeshRegions -cellSet. It produces the regions inside the solution folder (1 in my case) but it doesn't assign the computed field values (displacement, stress) to each one so I can only visualize the meshes.

Many thanks !!!
Xulia is offline   Reply With Quote

Reply

Tags
mergedmeshes, multibody, multimaterial, paraview, post-processing


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 05:37
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Adding material to CFX material library marlon CFX 2 October 16, 2016 09:33
error message cuteapathy CFX 14 March 20, 2012 06:45


All times are GMT -4. The time now is 00:56.