7.17.1 Top new questions this week

7.17.1.1 Stable fluids code for electromagnetic mixture application
7.17.1.2 How can I create an animation showing how a circular sector deformed to a cone?
7.17.1.3 Dataset from association of lists doesn't work
7.17.1.4 Creating the Yin Yang symbol with minimal code
7.17.1.5 On the ordering of the vertices of a polygon
7.17.1.6 Is it possible to vary the thickness of curves according to their color code
7.17.1.7 How can I style a Line like "Glassrectangle"?
7.17.1.1 Stable fluids code for electromagnetic mixture application

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=246091

This code has been translated from the original Jos Stam code and improved with some Mathematica functions. It solves problem of viscous incompressible flow with electromagnetic force in a rectangle  ... 
[differential-equations] [performance-tuning] [finite-difference-method] [fluid-dynamics]
 
asked by Alex Trounev https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=58388 14 votes
answered by xzczd https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1871 11 votes
7.17.1.2 How can I create an animation showing how a circular sector deformed to a cone?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=246171

I want to create the following animation with Mathematica. 
 
What is the simplest way to do so? 
My first effort: 
... 
[plotting] [graphics3d] [image3d] [drawing]
 
asked by Kim Jong Un https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=42141 12 votes
answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 7 votes
7.17.1.3 Dataset from association of lists doesn't work

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=246088

Mathematica 12 on wolfram cloud isn't rendering the table for an association of lists. According to the documentation you should be able to make columns in the table by: 
 
However I tried this 
... 
[dataset]
 
asked by Ion Sme https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=62529 10 votes
answered by WReach https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=142 9 votes
7.17.1.4 Creating the Yin Yang symbol with minimal code

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=246309

The following code creates the Yin Yang symbol 
... 
[graphics] [programming] [geometry] [code-golf]
 
asked by nilo de roock https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=156 9 votes
answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 15 votes
7.17.1.5 On the ordering of the vertices of a polygon

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=245994

Writing: 
 pts = {{1, 0}, {2, 0}, {2, 3}, {3, 3}, {3, 4}, {0, 4}, {0, 3}, {1, 3}, {1, 0}}; 
Graphics[{Red, Point[pts], Blue, Line[pts]}] 
 
we get: 
 
and all of this ... 
[graphics] [sorting] [polygons]
 
asked by Rolex https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=80016 9 votes
answered by Tim Laska https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=61809 15 votes
7.17.1.6 Is it possible to vary the thickness of curves according to their color code

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=246125

I have this data 
 data = Table[{x, Sin[5 x], Tanh[3 x]}, {x, -1, 1, 0.01}]; 
 
which I plot as follows 
... 
[plotting]
 
asked by valar morghulis https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=26937 8 votes
answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 6 votes
7.17.1.7 How can I style a Line like "Glassrectangle"?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=246046

I'd like a thick Line to look like ChartElementFunction -> "GlassRectangle" 
How can that be accomplished? 
[plotting]
 
asked by Gannicus https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=80033 8 votes
answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 11 votes