Quantcast
Channel: Active questions tagged units - Mathematica Stack Exchange
Viewing all articles
Browse latest Browse all 41

Perform nondimensionalization with derivatives [closed]

$
0
0

I'm trying to perform nondimensionalization to the following symbolic equations:

eqDn = Subscript[\[Mu], d] * (1/r) * D[r * D[Subscript[u, d][r], r], r] == Subscript[P, d]eqUn = Subscript[\[Mu], u] * (1/r) * D[r * D[Subscript[u, u][r], r], r] == Subscript[P, u]

Using the following substitutions:

subs = {  r -> R * OverHat[r], (* Dimensionless radial distance *)  Subscript[u, d][r] -> Subscript[U,0] * OverHat[Subscript[u, d]][OverHat[r]], (* Dimensionless velocity *)  Subscript[u, u][r] -> Subscript[U,0] * OverHat[Subscript[u, u]][OverHat[r]],   Subscript[P, d] -> Subscript[P,0] * OverHat[Subscript[P, d]],   Subscript[P, u] ->Subscript[P,0] * OverHat[Subscript[P, u]], (* Reference pressure *)  Subscript[\[Mu], d] -> M * Subscript[\[Mu], u] (* Viscosity ratio M *)};

However when I try:

eqDn2 = Simplify[eqDn /. subs]eqUn2 = Simplify[eqUn /. subs]

Mathematica doesn't use the chain rule when presenting the derivatives.Is there a proper way to perform nondimensionalization and keep track of the units when taking derivatives in this case?


Viewing all articles
Browse latest Browse all 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>