Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I create an ASCII XYZC lattice file (what is the format of P3D and Q)?

ASCII create file format Lattice
0
Posted

Can I create an ASCII XYZC lattice file (what is the format of P3D and Q)?

0

You can use P3D and Q files to import a regularly spaced lattice that is in ASCII format. Both the P3D and Q files can be created in any text editor, like Notepad. Both files need to have the same name so they can read each other. The top line the P3D file shows how many nodes there are in the lattice (X, Y, Z). Then, all of the X values are listed, all of the Y values are listed, and all of the Z values are listed. The order for the points is X increasing while Y and Z stays the same. At the end of the max X, increase to the next Y value continue until all X values are listed for all Y values at the lowest Z. Then, increase to the next Z and repeat the listing of X values at each Y. After all X values are listed, list all Y values. This is the Y value associated with the X value at the same location. Then, all Z values are listed. This is contained in the P3D file. The Q file contains the same initial row header and then four cells of zeros, the component information for each node (in

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.