[CIG-SHORT] (no subject)
Brad Aagaard
baagaard at usgs.gov
Wed May 25 11:54:52 PDT 2016
Francisco,
For surface displacements if you have
[pylithapp.problem.formulation.output.subdomain]
writer = pylith.meshio.DataWriterHDF5
label = face_zpos
vertex_data_fields = [displacement]
writer.filename = surface.h5
you would turn off the output via
vertex_data_fields = []
To turn off output for state variables for a material, you will have
something like
[pylithapp.timedependent.materials.lower_crust.output]
cell_info_fields = [density,mu,lambda,maxwell_time]
cell_data_fields = [total_strain,stress,viscous_strain]
To turn off output change these to
cell_info_fields = []
cell_data_fields = []
You should think of PyLith as a hierarchy of components. Some of these
have "output" components, and you adjust the parameters inside each
output component.
Regards,
Brad
On 05/25/2016 11:20 AM, Francisco Delgado wrote:
> Hi Brad, could you be a little more specific. The following works to
> output the surface displacements to an h5 file
>
>
> [pylithapp.timedependent.implicit]
> output = [subdomain]
> output.subdomain = pylith.meshio.OutputSolnSubset
>
> # Surface
> [pylithapp.problem.formulation.output.subdomain]
> writer = pylith.meshio.DataWriterHDF5
> label = face_zpos
> vertex_data_fields = [displacement]
> writer.filename = surface.h5
>
> But the following lines do not work for the magma chamber I want to turn
> off the vtk writer
>
> [pylithapp.problem.formulation.output.subdomain]
> label = face_res
> vertex_info_fields = []
> vertex_data_fields = []
> cell_info_fields = []
> cell_data_fields = []
> writer.filename = chamber.vtk
>
> Thanks
>
> On Wed, May 25, 2016 at 12:58 PM, Brad Aagaard <baagaard at usgs.gov
> <mailto:baagaard at usgs.gov>> wrote:
>
> Francisco,
>
> To turn off writing VTK or HDF5 output, set the info and data fields
> to empty arrays.
>
> For example:
>
> vertex_info_fields = []
> vertex_data_fields = []
>
> or
>
> cell_info_fields = []
> cell_data_fields = []
>
> Regards,
> Brad
>
>
> On 5/25/16 9:52 AM, Francisco Delgado wrote:
>
> Dear Pylith developers, how can I set the software to not save the
> output_t.vtk files?
>
> Thanks
>
> --
> --------------------------------------------------------
> Francisco Delgado
> PhD student in Geological Sciences
> Cornell University
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
>
>
>
>
> --
> --------------------------------------------------------
> Francisco Delgado
> PhD student in Geological Sciences
> Cornell University
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
More information about the CIG-SHORT
mailing list