<div dir="ltr"><div>Hi Simon,<br><br></div>It can be a fairly wide range to do that. I was able to do it for Chris Kees' Proteus code in an hour. But he already had VTK data structures created for his own internal in situ stuff and it was with Python so even compilation issues were very easy (also, we sat down together to do it so all of the knowledge was there). I generally try to allocate two weeks to do that assuming that I'll do a decent amount of the work figuring out the simulation code on my own as well as waiting some for answers to emails. If the code isn't "cmakeified" then it also adds a bit of time to it as well. If you're not that familiar with the simulation code I suggest focusing on the part of the code that writes out the simulation information (grid and fields) to files. That generally has all of the information you need to know in order to create the VTK data structures to represent their data structures.<br>
<br>Regards,<br>Andy<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 4, 2014 at 4:41 PM, Tim Gallagher <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Simon,<br>
<br>
I've gone through the process myself and it actually was not that painful, but how long it takes will depend on how familiar you are with VTK already. It's almost trivial if your code's data structures already use VTK. If they don't, then it's a matter of translating your data into the VTK data structures which isn't too bad in Python.<br>

<br>
Our code is in Fortran and is a parallel, finite volume, structured, multi-block code. So in some ways it's a bit easier to define the data structures in VTK as they are structured and I don't need to worry about connectivity. I wrote the wrappers and interface code in less than a week with no prior knowledge of VTK but a very strong desire to make it work :) This was a few years back when the documentation on Catalyst wasn't very mature so it was probably harder than it would have been now.<br>

<br>
I can't be any more specific or give you advice on how long it will take with your code, but it was much easier than I expected it to be when I did it.<br>
<br>
Tim<br>
<div><div class="h5"><br>
----- Original Message -----<br>
From: "Simon M CTR USARMY ARL Su (US)" <<a href="mailto:simon.m.su.ctr@mail.mil">simon.m.su.ctr@mail.mil</a>><br>
To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
Sent: Monday, August 4, 2014 4:29:52 PM<br>
Subject: [Paraview] ParaView + Catalyst - effort estimation (UNCLASSIFIED)<br>
<br>
Classification: UNCLASSIFIED<br>
Caveats: NONE<br>
<br>
Hello,<br>
<br>
>From a tutorial I attended on ParaView + Catalyst, I sort of get the idea of<br>
all the parts involved. However, from effort point of view, on an average<br>
case, how many man hours would be estimated to develop a Catalyst Bridge and<br>
get it to work in ParaView for a homegrown discrete element method code<br>
written in python with some functionality in wrapped fortran, but the data<br>
needed for visualization is exposed to python? Just a ballpark guess<br>
(min/max would be nice). I want to know how big of a project I am getting<br>
myself into... :)<br>
<br>
Thanks<br>
-simon<br>
<br>
Classification: UNCLASSIFIED<br>
Caveats: NONE<br>
<br>
<br>
<br>
</div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>