|
[Sponsors] |
From raw (Matlab matrix) data to Comsol/Ansys mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 24, 2019, 11:55 |
From raw (Matlab matrix) data to Comsol/Ansys mesh
|
#1 |
New Member
Join Date: Jun 2019
Posts: 1
Rep Power: 0 |
Good day to you all,
I come in hopes of finding a way to mesh the volume of air above a mountain (or other geografic feature) and export it to Comsol (or Ansys if it is easier) to perform CFD analysis. My question is: forgetting my current setup below, what would be your approach to create a mesh from a Matlab mesh/.tif data? What I want is a recipe to avoid having to repair or create code from scratch which would be extremely difficult or impossible with my very limited knowledge. There has to be such path but I am unable to find it and I am getting really desperate about that fact. More info: My current setup consists in some .tif data exported to Matlab and transformed into a matrix (if the value is 1 it belongs to the mesh, if it is zero it doesn't). Then I tried to use a Matlab toolbox "iso2mesh" to create a tetrahedral volumetric mesh. That is successfully accomplished, but when the time comes to export the mesh to .mphtxt (Comsol mesh format) it invariably fails. Thanks in advance for any help or suggestion! |
|
Tags |
comsol, import mesh, iso2mesh, matlab, tif |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
[Other] Mesh created using Matlab | ce73stargazer | OpenFOAM Meshing & Mesh Conversion | 0 | June 2, 2016 20:55 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Using Workbench, CFX-Pre doesn't update mesh from upstream data | Shawn_A | CFX | 2 | November 25, 2012 14:06 |
how to pickup the mesh data and vector data | oga_shin | OpenFOAM | 2 | October 28, 2011 00:42 |