[Paraview] Paraview Vtu to Exodus. Single block, multi element?

Andi Hartarto andi3173 at gmail.com
Tue Jan 10 20:25:59 EST 2017


Ken,

>From your email, I did filters > alphabetical> calculator> properties>
attribute mode from point to cell data > result array name to dummy >
expression to 0 > apply > save data as exodus file > open saved exodus
file. I still don't see the 2 element data fields?

I hope i didn't misunderstand anything or misphrase... The main idea is
that as shown in kenneth1.png, i need my element blocks to be of 2 arrays
not just 1. I can see its unnamed block id:5 but I want it to be following
my tetrahedral rank which is 1 and 2. In kenneth2. There is a clear
distinction of colors because i use my tetrahedral rank to color it. I
don't know how to make my block id = tetrahedra rank.

so my problem is actually:
How do i make object id = tetrahedrarank > hopefully this makes 2 data
arrays in element blocks.

Thank you,
Andi

On 10 January 2017 at 03:32, Moreland, Kenneth <kmorel at sandia.gov> wrote:

> Andi,
>
>
>
> You said you need an output with multiple blocks, but your last comment, “I
> need 1 block data set with 2 or more element data inside it,” suggests
> that what you really need is to add a second field of data.
>
>
>
> Try using the calculator to add that second field. Set the attribute mode
> to “Cell Data”, the “Result Array Name” to “Dummy”, and the Expression to
> 0. Now when you write that out to an Exodus file you should have two
> element data fields: the original tetrahedral rank and the Dummy field you
> created.
>
>
>
> -Ken
>
>
>
> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Andi
> Hartarto
> *Sent:* Sunday, January 8, 2017 4:58 PM
> *To:* paraview at paraview.org
> *Subject:* [EXTERNAL] [Paraview] Paraview Vtu to Exodus. Single block,
> multi element?
>
>
>
> Hi all, i need help please.
>
>
> Introduction:
>
> My problem is that I need to convert a vtu file into an exodus formatted
> file that reads several element block data.
> When I load my data in vtu, all i see is a white cubic block.
> This block has 2 data arrays named tetrahedra rank and tetrahedra number.
> When I change my coloring to tetrahedra rank, I can see 2 colors red and
> blue coloring my block.
>
>
> I want to save the vtu file into an exodus format file and load it to
> another software but the other software only shows me the output of colors
> if there are several element blocks.
>  In my case, the vtu file converted to exodus has only 1 element block.
>
> In paraview, I can go properties, add the variables of tetrahedra rank and
> then change coloring then i see what i want to see.
>
> But in the software I am supposed to load the data, I can't do that.
>
> Im supposed to make my exodus data into 2 or more element blocks and then
> load it in that software which makes the software goes "ok so there are
> various data ! lets color it".
>
> I don't know what should i do to change my vtu file with cell data of
> tetrahedra rank clearly showing the 2 data sets into 2 element blocks.
> I have tried to use edit> find data> extract selection > repeat for the
> next > group the data.
> I get a multi block data set. It didn't work. I need 1 block data set with
> 2 or more element data inside it.
>
> Please help,
> Andi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/709f5d92/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kenneth.png
Type: image/png
Size: 90710 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/709f5d92/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kenneth1.png
Type: image/png
Size: 79704 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/709f5d92/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kenneth2.png
Type: image/png
Size: 194487 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/709f5d92/attachment-0005.png>


More information about the ParaView mailing list