[Nek5000-users] MOAB Cubit problem

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Apr 29 13:59:04 CDT 2015


Hamid,

You have to export your mesh (defined as a block with all side-sets) in 
trelis to an Exodus format (try .g, e.g.), then convert it to h5m.

Mohsen


On 2015-04-29 02:23 PM, nek5000-users at lists.mcs.anl.gov wrote:
> Hamid,
>
> It is possible that the file formats are quite different between Cubit
> and Trelis. We have not tested with the Trelis versions so far and do
> plan to acquire a license to make these conversions possible.
> Meanwhile, if you want to use Exodus or any other format that MOAB can
> understand directly, that would simplify your workflow. We will keep
> you updated about the progress, if you're interested.
>
> Vijay
>
> On Wed, Apr 29, 2015 at 11:47 AM,  <nek5000-users at lists.mcs.anl.gov> wrote:
>> Hi,
>> I use Trelis (V 15) to generate mesh. However, when I try to use mbconvert
>> to generate h5m file, it says
>>
>> [0]MOAB ERROR: --------------------- Error Message
>> ------------------------------------
>> [0]MOAB ERROR: This doesn't appear to be a .cub file!
>> [0]MOAB ERROR: load_file() line 310 in src/io/Tqdcfr.cpp
>> [0]MOAB ERROR: --------------------- Error Message
>> ------------------------------------
>> [0]MOAB ERROR: Failed to load file after trying all possible readers!
>> [0]MOAB ERROR: serial_load_file() line 634 in src/Core.cpp
>> [0]MOAB ERROR: load_file() line 523 in src/Core.cpp
>> Failed to load "/home/hamid/nek5_svn/moab_conjht/cubit01.cub".
>> Error code: MB_FAILURE (16)
>> Error message: Failed to load file after trying all possible readers
>>
>> I have downloaded other cub files from repository and mbconvert works fine
>> on them.
>> However opening and saving these files with Trelis causes same problem.
>> I think the file format in Trelis is different than Cubit. Is it true? if
>> yes what is the solution?
>>
>> Hamid
>>
>>
>> _______________________________________________
>> Nek5000-users mailing list
>> Nek5000-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users

-- 
Mohsen Behzad, Ph.D.
Research Associate,
Mechanical and Industrial Eng. Dept.,
University of Toronto



More information about the Nek5000-users mailing list