Mathematica Asked by elapsed on July 18, 2021
Assuming a linear concentration profile in a particle(sphere), I managed to make a SliceContourPlot3D for 2 linear concentration functions(a function of radius). I met some problems here:
Fig.1
Fig.2
R=0.001;
expr1=TransformedField["Spherical"->"Cartesian", 50/0.001 r,{r,[Theta],[CurlyPhi] }->{x,y,z}]
SliceContourPlot3D[expr1,{"CenterCutSphere"},{x,-R,R},{y,-R,R},{z,-R,R},ColorFunction->ColorData["BlueGreenYellow"],PlotLegends->BarLegend[Automatic,LegendMarkerSize->{10,200}]]
ContourPlot[expr1,{x,-R,R},{y,-R,R},ColorFunction->ColorData["DarkRainbow"],PlotLegends->BarLegend[Automatic,LegendMarkerSize->{10,200}]]
expr2=TransformedField["Spherical"->"Cartesian", 10/0.001 r,{r,[Theta],[CurlyPhi] }->{x,y,z}]
SliceContourPlot3D[expr2,{"CenterCutSphere"},{x,-R,R},{y,-R,R},{z,-R,R},ColorFunction->ColorData["BlueGreenYellow"],PlotLegends->BarLegend[Automatic,LegendMarkerSize->{10,200}]]
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP