Changes between Version 28 and Version 29 of u/erica/OutflowFeedback
- Timestamp:
- 10/31/17 17:38:54 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/OutflowFeedback
v28 v29 2 2 3 3 The outflow module injects a fraction of accreted mass, momentum and angular momentum back into the grid following each accretion time step and between hydro advances. 4 5 === Feedback !Switches/Control === 6 7 To turn on 8 4 9 5 10 === Brief Accretion Module Review === … … 95 100 iii. Call !CheckForNewParticles 96 101 a. If find a new particle: 1. Call !CreateNewParticle, 2. Call !AddNewSinkParticle 97 i. Call !CollectNewParticles 102 i. Call !CollectNewParticles (particle_comms.f90) 98 103 a. Collects particles across processors (using mpi_allgather) 99 b. Call !CreateParticle: initializes variables for the new particle 104 b. Call !CreateParticle: initializes variables for the new particle (sets to null params) 100 105 c. Call !AddSinkParticle: adds to global sink list 101 106 d. Call !CreatePointGravityObject and sets these parameters … … 113 118 Elliptic -> Hydro -> Particle -> Radiative? 114 119 120 '''Outflow Feedback Algorithm Outline''' 121 122 Feedback related variables are defined in &PhysicsData namelist (/src/physics/physics_control.f90). These include: 123 124 iOutflowFeedback 125 126 f_m 127 128 outflow_radius 129 130 f_a 131 132 opening_angle 133 134 outflow_temp 135 136 These get read in at runtime and used in the '!CollectNewParticles' subroutine (particle_comms.f90), where the particles are associated with these variable. 137 138 115 139 === Build Notes === 116 140 Ticket info: https://astrobear.pas.rochester.edu/trac/ticket/448