Where to Begin Coding for Smoothed Particle Hydrodynamics Simulations?

  • Context: Graduate 
  • Thread starter Thread starter Artemisia
  • Start date Start date
  • Tags Tags
    Hydrodynamics Particle
Click For Summary
SUMMARY

To begin coding for Smoothed Particle Hydrodynamics (SPH) simulations, it is essential to reference the paper "Canup, R. M. (2004). The Origin of the Moon" for foundational equations. Start by exploring existing SPH implementations in C or Fortran, as these languages provide robust examples of the methods required. Modify these examples to align with the specific discretized equations outlined in the paper's appendix. This approach will facilitate a structured entry into coding SPH simulations.

PREREQUISITES
  • Understanding of Smoothed Particle Hydrodynamics (SPH) methods
  • Familiarity with C or Fortran programming languages
  • Knowledge of numerical integration techniques
  • Ability to interpret scientific papers and equations
NEXT STEPS
  • Research existing SPH code examples in C or Fortran
  • Study numerical integration methods relevant to SPH
  • Examine the appendix of the referenced paper for specific equations
  • Explore modifications to existing SPH codes to implement the desired equations
USEFUL FOR

Researchers, computational physicists, and software developers interested in simulating astrophysical phenomena using Smoothed Particle Hydrodynamics techniques.

Artemisia
Messages
1
Reaction score
0
I wish to replicate the simulations and values obtained in the following paper but I do not know where to start my coding from.

http://lasp.colorado.edu/~espoclass/ASTR_5835_2013_Files/2013_10_29_Canup.Moon.Icarus.2004.pdf

How must I start the code? I am aware that I need to integrate the appendix with some codes but I am very unsure as to how to begin.

Please help :(
 
Astronomy news on Phys.org
I'm sorry you are not finding help at the moment. Is there any additional information you can share with us?
 
It might be an idea to find some examples of SPH methods, coded in c or fortran, to get you started. There are plenty of simple codes out there. You can then modify then accordingly with the specific discretised equations that you want to solve (ie the ones you mention in this paper).
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K