Skip to content

1D temperature field simulation for Joule direct energy deposition additive manufacturing using petsc4py

License

Notifications You must be signed in to change notification settings

hyperchao0/c3d-petsc-1d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c3d-petsc-1d

1D temperature field simulation for Joule direct energy deposition additive manufacturing using petsc4py

Temperature field

Quick Start

  1. Install petsc4py
python3 -m venv venv

source venv/bin/activate

pip install -r requirements.txt
  1. Run the simulation
./simulation.py

Parameters

  • -D or --diameter: Diameter of the wire (default: 1.2mm)
  • -L or --length: Length of the wire (default: 6.0mm)
  • -v or --velocity: Feedrate of the wire (default: 30mm/s)
  • -U or --voltage: Voltage of the wire (default: 1.45V)
  • --Nx: Number of elements in the x direction (default: 1000)
  • --dt: Time step size (default: 0.001s)
  • --Tf: Final time (default: 1.0s)

About

1D temperature field simulation for Joule direct energy deposition additive manufacturing using petsc4py

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages