Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Import a matlab file in comsol

  1. Mar 6, 2009 #1
    Hello,
    I have a file with points and I want to create a 3D geometry in Comsol, but it's impossible to load a txt file in this software.
    In Comsol we can import something called "geometry object" and I know it's possible to create this geometry with Matlab but I don't know how to do.
    Can someone help me ?
     
  2. jcsd
  3. Jul 2, 2009 #2
    hi,
    I want to do the same thing but can't figure out how...
    did you find a solution? if so could you help me plz?
    thanks
     
  4. Jul 3, 2009 #3
    Importing stuff into comsol is all about formatting. Just draw something in COMSOL, then export it. Using the same format of the file you exported just copy and paste your matlab data into it.

    FYI, if your just importing geometry into comsol, its a LOT easier just to do it with a CAD program like solidworks.
     
  5. Jan 19, 2010 #4
    hey guys,

    try to use maple13 to creare geometry.. then export picture as .dxf (drawing exchange format)

    COMSOL can read .dxf geometry BUT in my case it covert 3d geom into 2d..

    if anybody know how to treat it, please let me know.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Import a matlab file in comsol
  1. Data file for matlab (Replies: 1)

  2. Comsol Question (Replies: 1)

Loading...