AM PravaH User Manual 

An Additive Manufacturing software

 (Version 1.7)

1. Introduction 

AM PravaH is a comprehensive computational modeling software developed by Paanduv Applications specifically for additive manufacturing (AM) processes. It is a parallelized software with a user-friendly graphical user interface (GUI) that enables engineers and designers to simulate and optimize AM processes.

Paanduv Applications' expertise in computational physics, AI, and software development has been instrumental in creating AM PravaH. The software leverages advanced numerical algorithms and AI-powered modules to provide accurate and reliable simulations of AM processes. This allows users to predict and prevent defects, optimize process parameters, and develop new AM designs.

AM PravaH is a valuable tool for companies in various industries that rely on AM for manufacturing complex and high-performance components. It is particularly beneficial for industries such as aerospace, automotive, medical, and energy.

Here are some of the key features of AM PravaH:

Overall, AM PravaH is a powerful tool that can significantly improve AM processes' efficiency, quality, and innovation. Paanduv Applications' commitment to research and development ensures that AM PravaH remains at the forefront of AM simulation software.

2. Downloading AM PravaH 

For downloading AM PravaH from Paanduv website you can contact us at suport@paanduv.com

3. Installation Guide and Licensing 

System Requirements: 

System requirements, how to install AM PravaH after downloading, detailed step-by-step guide with screenshots. Licensing


Step 1: Unzip the downloaded AM PravaH package. Navigate the "amp-installation" folder.

Step 2: Click on AMPravaH_install to launch the installation window.

Step 3: Click Next in the installer window.

Step 4: Read and Accept the license agreement then click next to proceed to the next step.

Step 4: Click Install to proceed further.

Step 4: Enter the password into the terminal to begin the installation process.

Step 5: After completion of the installation process, click on Add the license file.

Step 6: After the successful addition of the license a pop-up window will appear with the 

Step 6: Restart the computer to complete the installation.

AM PravaH from the taskbar or 'Applications' menu.

With a right-click on the icon, users can add the software to the Favourites, which will be shown in the taskbar. You are all set to launch the AM PravaH! 


Only the users with a valid license can run the simulations.

4. Getting Acquainted with GUI 

AM PravaH v1.7 features an intuitive GUI. The software comes with three modules named, 

1. Macroscale modeling

2. Microstructure modeling

3. AI

When initiating AM PravaH on your system, you'll encounter distinct modules on one side of your workflow. In the center, there's the AM PravaH logo, and on the other side, you'll find the input section for creating a new project. Beneath that, you can check the software version and the status of the license, whether it's active or not.

Users can navigate to different modules by clicking on respective tabs.

5. Launching New projects and Loading Results 

Create New: 

Now users can use any desired module and everything will be saved in the provided project folder. 

Load Results:

6. Macroscale Modeling 

The "Macroscale Modeling'' module in AM PravaH facilitates the execution of Laser Powder Bed Fusion (LPBF) or Welding simulations, enabling the examination of meltpool dynamics. This module encompasses the entire physics involved in the LPBF or Welding process, covering multiple aspects, including:



This comprehensive coverage ensures that the results obtained from this module closely align with experimental outcomes.

This comprehensive coverage ensures that the results obtained from this module closely align with experimental outcomes.


Running first Macroscale Simulation: 

In the macroscale module, there are three input sections under settings.


Step 1: Alloy and Inert gas 

This section involves selecting the material and defining its thermophysical properties for all three metal phases and the Inert gas.

Alloy Thermophysical properties:

Choose the alloy from a dropdown list, and properties for common alloys are provided. Users can edit properties, which won't alter defaults but will reflect in the current project upon clicking "SAVE." 

‘Reset’ button will reset the properties to default.

You can create your own “custom alloy” by choosing ‘Custom Alloy’ from alloy dropdown and add the properties. These properties will be saved permanently on clicking ‘Save’ and can be loaded again whenever needed. 


Shielding Gas Properties:

Default properties for Argon and Air are provided. Users can customize these properties and save changes.

Vaporization State:

Activate or deactivate vaporization to study its effect. Deactivating vaporization reduces simulation time for processes where vaporization has minimal impact on results.

Lee Constant

Lee Constants are parameters that govern the rates of melting and solidification. Default values are provided, allowing users to conduct experiments. The Lee constants exhibit an inverse proportionality to the square of the mesh size.


Formulae for Lee Constants:

For a mesh size of approximately 4.45e-6, the default values are as follows:

Users can calculate Lee constant values for a new mesh size using the following formulas:

Here, 'dx' represents the new mesh size. 


Note: Solid to Liquid Lee constant is positive, Liquid to Solid Lee constant is negative.

Solid absorptivity and Molten absorptivity

Absorptivity here is the property of a material to absorb the laser per unit length, unit (1/meter). 





Step 2: Configuring Process Parameters: 

In this section, you can set various process parameters crucial to the additive manufacturing simulation. The following parameters can be adjusted.

Upload Scan Pattern:

Click the “Upload scan pattern” button to navigate to the project directory, where the system generates a “datasets” folder within your project directory.

Inside the "datasets" folder, default scan patterns include “Pattern.csv” for a single layer and “multi_layer.csv” for a multilayer scan track. 

Select a desired .csv file, click "Open" to upload, and confirm the upload in the terminal. Click on open after selecting the desired .csv file and pattern will be uploaded. In terminal, user can ensure the file is uploaded

To customize the scan track, users can navigate to the project folder and open the .csv file. The initial column denotes the layer number, the second column signifies the simulation time commencing from zero, and the subsequent three columns represent the x, y, and z coordinates of the laser. The sixth column indicates whether the laser is turned on or off at the corresponding time. 

In the default "pattern.csv," the laser is activated from 0 seconds to 0.0002 seconds and promptly deactivated at 0.00021 seconds. It remains inactive until 0.0008 seconds, representing the solidification phase. 

Within the default "multi_layer.csv," a predefined two-layer pattern is available. The numeral '2' in the initial column signifies the second layer. The initiation of  the second layer occurs immediately after the completion of the first layer. Specifically, the start time for the second layer is at 0.000801 seconds, just after the conclusion of the last layer at 0.0008 seconds, and the laser is activated. 

Users have the flexibility to assign any name to these input files, provided they have the .csv extension. This allows users to craft customized scan patterns tailored to their specific requirements.

Powder distribution

Users have the option to upload a personalized powder distribution through a .csv file. The system includes a default particle distribution named "particle_distribution.csv" within the datasets.

In the data structure, the initial column represents particle size, and the second column denotes the ratio of that particular particle size within the powder. For instance, in the first row, a value of 0.1 indicates that 10% of the particles have a radius of 1.4E-05. It is essential to ensure that the sum of all particle ratios consistently equals '1'.

Laser direction: 

The laser direction is the orientation of the laser beam vector, typically directed downward. This downward orientation can be specified by assigning a value of '-1' to the 'Along Z' axis, with other axes set to zero.

Users have the flexibility to define any direction by combining the X, Y, and Z axes. For example, suppose we desire a laser in the X-Z plane inclined at an angle 'θ' degrees to the -Z axis. In this case, the mathematical representation would be Z = 

-rcos(θ), X = rsin(θ), assuming r = 1. These calculations allow the determination of the vector coefficients along the X, Y, and Z directions.

D4sigma

In AM-PravaH, a Gaussian laser is employed, and users are required to furnish the "D4sigma" value for it. Alternatively, if the user is unaware of the D4sigma value, they can input the laser spot diameter, which serves the same purpose. The D4sigma parameter characterizes the power distribution of the laser within the laser spot, playing a critical role in influencing the size and shape of the meltpool.

Fresnel coefficient: 

The solver in AM-PravaH employs the Fresnel reflection model to simulate laser reflection. This model comes into play when a laser beam transitions from one medium to another, and the interface acts as a reflective surface, causing a portion of the laser power to be reflected.


Fresnel coefficients are crucial for the liquid-gas interface and liquid-vapor interface, significantly influencing energy absorption and laser penetration into the keyhole. A higher Fresnel coefficient corresponds to increased absorption and reduced reflection, shaping the dynamics of laser-material interactions during the additive manufacturing process.

Substrate height

It is the height or thickness of the base on which powder is spread. 

Spreader clearance

It is a distance above between the substrate or previous layer to the spreader in meters. Required Powder bed thickness can be given by giving the right spreader clearance.  

Velocity of spreader

Spreader velocity affects the powder spreading, input value is in m/s.



Shielding gas velocity


A shielding gas velocity near the powder bed can be given in m/s with the required flow angle, which is the depression angle with the horizontal.

Visualize scan pattern

The process parameter tab contains a button to visualize the scan pattern after uploading it. After clicking on the visualize scan pattern button a small window will appear for entering the number of intermediate points required to be plotted between each line of the scan pattern to animate. After entering the required number of points click ok,  the 3D animated scan pattern will be plotted. 

Check scan speed

The scan speed can also be checked by just clicking on the “Check scan speed” button. Once you click on it the scan speed will appear on the terminal.

Step 3: Computational Settings: 

ACCURACY” and “PERFORMANCE” sliders are available to adjust the mesh size. Increasing the ACCURACY slider results in a finer mesh, enhancing precision. Conversely, adjusting the PERFORMANCE slider increases the mesh size, optimizing computational efficiency. Users can fine-tune these settings based on 

their specific computational requirements and balance the trade-off between accuracy and performance.

Max courant Number

Users can set the desired maximum courant number to avoid the courant number breach.  For computationally complex simulations where laser power is high, users can keep the courant number low and vice versa.


Data saving frequency:  

The Data Saving Frequency parameter determines the frequency at which result files are saved during simulation. For simulations with extended processing times, saving data at regular intervals can consume significant memory. To alleviate this, users can reduce the Data Saving Frequency, thereby reducing the overall memory usage.

High-performance computing

Users have the option to enhance simulation efficiency by running it in parallel. The number of CPU cores to be utilized can be specified. The system's maximum available cores are indicated as "Max available 12," indicating, for example, that the user has 12 CPU cores available, and they may choose to utilize 4 of them for the simulation. This feature optimizes simulation performance, especially for computationally demanding tasks.


Step 4: Running Simulation and Simulation Progress

After completing the preceding three steps, users can initiate the simulation by pressing the "RUN SOLVER" button.

Step 4: Running Simulation and Simulation Progress: 


After completing the preceding three steps, users can initiate the simulation by pressing the "RUN SOLVER" button.

Monitoring the terminal provides insight into the simulation's progress. Following the selection of "RUN SOLVER," users will observe the message 'Launching Macroscale Modeling with AM PravaH.' followed by subsequent messages. 

Upon the appearance of the message 'Modeling melt pool dynamics using Multiphase CFD (parallel) ...' in the terminal without any accompanying error messages, it signifies the seamless progression of the Macroscale simulation into the melt pool calculation phase. 

Launch console:

This button serves to provide users with a real-time view of the simulation progress. Users have the capability to observe data from the last few time steps. The terminal displays comprehensive information during the simulation, encompassing Storage details, Required time for the simulation, AM Process time, and the percentage of completion.

The total required storage depends on the data-saving frequency specified in the computational settings. The Estimated Remaining Time is dynamic, influenced by system performance and time step adjustments made by the solver to maintain control over the Courant number. The solver's automatic enhancement of the time step can lead to improvements in simulation speed, and the estimated clock time required may change accordingly. Typically, the simulation concludes in less time than initially estimated. 

Users can also monitor the residual plot, gaining insights into Courant number and time step improvements. This window remains active for 5 minutes and closes automatically. By pressing the "SHOW PROGRESS CONSOL" button, users can reopen the plots. The green refresh button atop the plot window facilitates the refreshing of plots.

Save and Terminate

To terminate the simulation prematurely, the "SAVE AND TERMINATE" button can be utilized. This action not only stops the ongoing simulation but also preserves the results in the project folder. Even after using this button, users retain the ability to visualize and analyze the obtained results.

Step 5: Visualization:

By clicking the "VISUALIZE" button, a Paraview window will be launched, loading the simulation results. Users have the flexibility to leverage all available Paraview tools for effective visualization of the result data.

The Play button and other adjacent controls within Paraview can be employed to run animations and navigate backward or forward through the visualized data. This provides users with a dynamic and interactive means of exploring and interpreting the simulation outcomes.

Clip

Clip is used to clip any dataset using either an implicit function (such as a plane, sphere, or a box) or using values of a scalar data array (Solid.alpha, liquid.alpha, gas.alpha etc) in the input dataset. This filter allows users to visualize different phases seperately. Default clips for solid and liquid phase are provided.

Slice 

The Slice filter slices through the input dataset with an implicit function such as a plane, a sphere, or a box. Any cross-section of the domain can be cut and visualized using the slice.

Visualize powder spreading 

The powder spreading can also be visualized by clicking on the “Show powder spreading”  in the “macroscale” module button which will launch the powder spreading in ParaView.


7. Microstructure Modeling 

Step 1: Simulation setup:

Users can choose the alloy of interest from the dropdown menu, where the thermophysical properties of several common alloys are readily available. If necessary, users have the option to edit these properties. It's important to note that these edits won't modify the default properties; however, they will be applied to the current project upon pressing the "SAVE" button. This feature allows users to customize alloy properties for their specific simulation needs.

Upload scan pattern

To customize the scan track, users can navigate to the project folder and open the .csv file. The initial column denotes the layer number, the second column signifies the simulation time commencing from zero, and the subsequent three columns represent the x, y, and z coordinates of the laser. The sixth column indicates whether the laser is turned on or off at the corresponding time.

In the default "pattern.csv," the laser is activated from 0 seconds to 0.0002 seconds and promptly deactivated at 0.00021 seconds. It remains inactive until 0.0008 seconds, representing the solidification phase. 


Within the default "multi_layer.csv," a predefined two-layer pattern is available. The numeral '2' in the initial column signifies the second layer. The initiation of the second layer occurs immediately after the completion of the first layer. Specifically, the start time for the second layer is at 0.000801 seconds, just after the conclusion of the last layer at 0.0008 seconds, and the laser is activated.


Users have the flexibility to assign any name to these input files, provided they have the .csv extension. This allows users to craft customized scan patterns tailored to their specific requirements.


Visualize scan pattern


The process parameter tab contains a button to visualize the scan pattern after uploading it. After clicking on the visualize scan pattern button a small window will appear for entering the number of intermediate points required to be plotted between each line of the scan pattern. After entering the required number of points click ok the scan pattern will be plotted.

Check scan speed

The scan speed can also be checked by just clicking on the “Check scan speed” button. Once you click on it the scan speed will appear on the terminal.

Layer thickness

Width adjustment parameter:

This parameter controls the width of the melt pool and is inversely proportional to the width of the melt pool.

Depth adjustment parameter

The depth adjustment parameter plays a crucial role in determining the depth of the melt pool, and it operates on an inverse relationship; as this parameter increases, the depth of the melt pool decreases.

Metal heat absorption fraction:

In laser-based additive manufacturing processes, a portion of the laser energy is reflected, while the remaining energy is absorbed by the material. This absorption behavior can be quantified using the metal heat absorption fraction. A default value of 0.5 is provided, representing an average absorption fraction for the entire process. It's worth noting that solid and molten metal have different absorptivity values, ranging from 0.4 for liquid to 0.7 for solid. The average value of 0.5 is offered as a default to represent the overall absorption characteristics throughout the process. Users can adjust this parameter to fine-tune the simulation based on specific material properties or process conditions.

Spins

In the initial state, a random number of spins are assigned to the material and distributed randomly. Increasing the number of spins enhances randomness, contributing to more realistic outcomes in a probabilistic model. A default value of '125' is provided, and while users can opt for higher values, it's essential to note that beyond a certain point, further increases may not significantly improve results. To optimize simulation time, users should use the minimum required number of spins. It's crucial to keep in mind that the number of spins cannot exceed the total number of lattices in the domain.

Accuracy and Performance:

The Accuracy and Performance slider influences the lattice size. Upon clicking the "SAVE" button, users can view the lattice size in the terminal, expressed in meters. For instance, a lattice size of 4.99e-6 means each lattice is 4.99e-6 meters. A smaller lattice size results in more accurate results, but it comes at the cost of increased simulation time and memory requirements. Users can adjust this parameter to balance the trade-off between accuracy and computational efficiency based on their specific simulation needs.

Data saving frequency:

The Data Saving Frequency parameter determines how often data is saved during the simulation. A higher data saving frequency results in more frequent data saves, consuming more memory. Users have the flexibility to reduce this frequency to conserve memory. On the other hand, larger values can be advantageous for observing the grain evolution process at smaller intervals, providing insights into how grains evolve.


High-performance computing:

Users can enhance simulation efficiency by running it in parallel, specifying the number of CPU cores to be utilized. The system's maximum available cores are indicated as "Max available 12," suggesting, for example, that the user has 12 CPU cores available, and they may choose to utilize 4 of them for the simulation. This parallel computing feature optimizes simulation performance, particularly for computationally intensive tasks.


Step 2: Running Simulation and Simulation Progress: 

After setting the simulation inputs and clicking on the “SAVE” button, users can press the “RUN SOLVER” button to start the simulation.

Users can watch the terminal to get the progress of the simulation. After pressing “RUN SOLVER” users can see the ‘Launching Microstructure Modeling with AM PravaH.’ message followed by further messages. 


Show progress console

This button is provided to enable the user to see the progress of the simulation in between. 

Step 3: Visualization: 

To visualize the simulation results, click on the “VISUALIZE” button, which will open a ParaView window.

Reload the data by right-clicking on 'Microstructure_pravah' and selecting 'Load new files.' This action will load all the available results.

Users have the flexibility to utilize all the available ParaView tools to visualize the result data.

The Play button and other adjacent controls within ParaView can be employed to run animations and navigate backward or forward through the simulation's time steps. This provides users with dynamic and interactive capabilities to explore and analyze the microstructure modeling results. 

Step 4: Analyse Microstructures

After completion of the simulation process the microstructure can be analyzed by clicking on the “Analyse Microstructure” button. 

The analyse microstructure window contains three sections. The first input section requires input regarding the minimum number of consecutive cells required for considering it to be a grain. These will exclude the consecutive cells with the same spin which should not be considered as grain.

Angular CLD

The angular CLD distribution can be plotted by providing input from the user regarding the location of the cut planes. The Cut_x input field is required to provide the location of the x-plane where the angular distribution of the CLD needs to be plotted. Similarly, Cut_y and Cut_z input fields are required to provide the location of y and z planes respectively where the angular distribution needs to be plotted. The values as required can be obtained from the visualizer by clicking on “Show Results” and turning on the data axis grid. After providing the locations of the x, y, and z planes in their respective fields, clicking the “Calculate CLD” button will plot the angular distribution of CLD on polar charts along with their microstructures in x, y, and z planes.

Grain size

The grain size can be calculated by clicking on the “Calculate Grain Size” button and the grain size data will be plotted on a bar chart. The y-axis will represent the probability density and the x-axis will represent the equivalent diameter. Also, the total number of grains and average grain diameter will be displayed in the terminal.

8. Deep Learning 

A Deep Learning module is incorporated into AM PravaH to expedite simulations and utilize data from previous simulations. Users can train their own Deep Learning model using relevant target data from both simulations and experiments.


This module consists of two sections: 

Training a New Model: 

After creating a project from the “LAUNCH PROJECT” user can navigate to the “DEEP LEARNING” page.




Ensure that the file is uploaded correctly from the terminal. 

4. Upload Target CSV: Use the "Upload target CSV" button to upload 'train_labels.csv', containing the target data to be predicted by the model after training. Exclude data intended for testing the trained model.


5. Train New AI: Clicking on this button initiates the model training. 

Observe the progress in the terminal, where the message 'Training AI agent' indicates the commencement of model training.

A success message confirms the successful completion of training. 

6. Progress Console: Utilize the "PROGRESS CONSOLE" button to analyze the model training live. This button opens a TensorBoard window in the default browser, providing real-time insights into the training progress.

Use Trained Model: 

Step 1: Load Trained Model: Click on the "Load Trained Model" button to load your model from ai > saved_models > 'Model_name'. Press 'open'. 

Confirm from the terminal that the model is loaded correctly.

Step 2: Load Data for Prediction: Load the data for prediction with the "Load Data for Prediction" button. Sample prediction data is available as "predict_feature.csv" inside datasets > NIST folder. The respective plots will be saved in ai > plots folder. 

Step 3: Predict: 

Click on the "Predict" button to perform predictions for the provided features.

Terminal will show the predicted values.


Users can validate the model by comparing the predictions with available data that has been kept separate and not used for training. This step ensures the reliability and accuracy of the trained model.