[CIG-SHORT] how to turn off vtk output

Charles Williams willic3 at gmail.com
Tue Nov 21 10:37:01 PST 2017


Yes.  It just occurred to me that the vtk files might be state variable output.  I don’t see the output manager for state variables being set in the snip below.

Cheers,
Charles


> On 22/11/2017, at 7:10 AM, Brad Aagaard <baagaard at usgs.gov> wrote:
> 
> On 11/21/2017 09:58 AM, Charles Williams wrote:
>> Look in your pylith_parameters.json file, and see where the output manager is being set.  Do you have multiple .cfg files?  Also, is the fault output being written to an HDF5 file?
> 
> To turn off output for a given output manager (look a the JSON file as Charles suggested and/or look at the VTK files to see what information they contain (fault, state variables, solution field, etc), simply set the vertex_data_fields and/or cell_data_fields to empty arrays:
> 
> vertex_data_fields = []
> cell_data_fields = []
> 
> Regards,
> Brad
> 
>>> On 21/11/2017, at 2:04 PM, tu xiang <tuxiang2016 at outlook.com <mailto:tuxiang2016 at outlook.com>> wrote:
>>> 
>>> Hello,
>>> 
>>> I met a problem about how to turn off vtk output.
>>> 
>>> In my simulation, I set the output as following:
>>> # ----------------------------------------------------------------------
>>> # output
>>> # ----------------------------------------------------------------------
>>> # Domain
>>> [pylithapp.problem.formulation]
>>> output = [domain]
>>> 
>>> [pylithapp.problem.formulation.output.domain]
>>> output_freq = time_step
>>> time_step = 0.9999999*s
>>> writer = pylith.meshio.DataWriterHDF5
>>> 
>>> [pylithapp.problem.formulation.output.domain]
>>> writer.filename = output/demo-domain.h5
>>> vertex_data_fields = [displacement,velocity]
>>> 
>>> # Faults
>>> [pylithapp.problem.interfaces.fault.output]
>>> writer = pylith.meshio.DataWriterHDF5
>>> writer.filename = output/demo-fault.h5
>>> vertex_info_fields = [traction_initial_value,static_coefficient,dynamic_coefficient,slip_weakening_parameter,cohesion]
>>> output_freq = time_step
>>> time_step = 0.999999*s
>>> 
>>> I do not want it output the vtk files, such as
>>> output_t27225000.vtk  output_t45410000.vtk  output_t6360000.vtk   output_t9965000.vtk
>>> output_t27230000.vtk  output_t45415000.vtk  output_t63600000.vtk  output_t9970000.vtk
>>> output_t27235000.vtk  output_t45420000.vtk  output_t63605000.vtk  output_t9975000.vtk
>>> output_t27240000.vtk  output_t45425000.vtk
>>> 
>>> Because it will take much time to output so many vtk files, I tried to turn off  output vtk files, but it does not work.
>>> 
>>> Hope someone would tell me how to turn off vtk output.
>>> 
>>> Best regards,
>>> Tu Xiang
>>> 
>>> 
>>> _______________________________________________
>>> CIG-SHORT mailing list
>>> CIG-SHORT at geodynamics.org <mailto:CIG-SHORT at geodynamics.org>
>>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>> *Charles Williams I Geodynamic Modeler
>> GNS Science **I** Te Pῡ Ao*
>> 1 Fairway Drive, Avalon 5010, PO Box 30368, Lower Hutt 5040, New Zealand
>> *Ph* 0064-4-570-4566 I *Mob* 0064-22-350-7326 I *Fax* 0064-4-570-4600*_
>> _**http://www.gns.cri.nz/**I**Email: **C.Williams at gns.cri.nz* <mailto:your.email at gns.cri.nz>
> 
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short

Charles Williams I Geodynamic Modeler
GNS Science I Te Pῡ Ao
1 Fairway Drive, Avalon 5010, PO Box 30368, Lower Hutt 5040, New Zealand
Ph 0064-4-570-4566 I Mob 0064-22-350-7326 I Fax 0064-4-570-4600
http://www.gns.cri.nz/ <http://www.gns.cri.nz/> I Email: C.Williams at gns.cri.nz <mailto:your.email at gns.cri.nz>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20171122/a373ba2b/attachment.html>


More information about the CIG-SHORT mailing list