30 lines
362 B
Python
30 lines
362 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
"""
|
||
|
Created on Fri Aug 27 15:14:48 2021
|
||
|
|
||
|
@author: Joschka
|
||
|
"""
|
||
|
from src import physical_constants as cs
|
||
|
import numpy as np
|
||
|
|
||
|
|
||
|
mu = 9.9* cs.mu_B/8
|
||
|
|
||
|
|
||
|
|
||
|
def cloud_pos(mF,Grad_Bz, dt = 10e-3):
|
||
|
a = mF*mu*Grad_Bz/cs.m_Dy_164 - 9.81
|
||
|
s = 0.5 * a *dt**2
|
||
|
return s
|
||
|
|
||
|
Grad = 40*1e-2
|
||
|
|
||
|
t = 0.2/100
|
||
|
print(t)
|
||
|
print(cloud_pos(-8,Grad,dt=t ))
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|