<HTML>
<HEAD>
<TITLE>Re: [Paraview] Unable to select: Append attributes</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>It looks like the Append Attributes filter does not work with multiblock data, which is what the OpenFOAM reader is creating. To get around the problem, try running the Merge Blocks filter on the readers for both the coarse and fine data. Then follow your instructions below on the merged blocks and I think it shouldl work.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 11/23/10 11:32 AM, "George Gerber" <<a href="george.gerber@gmail.com">george.gerber@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Paraviewers,<BR>
<BR>
I would like to do a mesh refinement analysis using the predefined filters of paraview (I can already do such an analysis with numpy and pylab).<BR>
My objective is to calculate the difference between the pressure fields of a fine grid simulation and a coarse grid simulation.<BR>
<BR>
I have two OpenFoam simulations: A fine grid simulation and a coarse grid simulation (attached tarball).<BR>
I have imported the results of both simulations into paraview.<BR>
Then I have resampled the fine grid solution as follows:<BR>
Select fine grid source >Resample with dataset > Source>Coarse grid<BR>
Then I apply a calculator on the resampled solution and basically rename the point pressure variable to 'presampled'<BR>
I also apply a calculator on the coarse solution and rename the point pressure variable to 'pcoarse'<BR>
<BR>
The next step should be:<BR>
Select both calculators and apply the 'Append attributes' filter.<BR>
However, this filter is not selectable at this stage (grayed out)<BR>
I can confirm that both calculators have the same number of points and cells.<BR>
<BR>
Can anyone tell me what I am doing wrong or whether there is a better way of performing a grid sensitivity study in paraview?<BR>
<BR>
Thank you,<BR>
George<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>