Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example cfpdes supra #13

Merged
merged 11 commits into from
Jun 3, 2022
74 changes: 55 additions & 19 deletions feelpp-cfpdes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,37 +101,73 @@ json here
--


//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Bulk Superconductor Cylinder in Axisymmetrical Coordinates
// Magnetic field trapped in the superconductor
[%notitle]
[.columns]
=== Supra conductor

[.column]
--
images here
--
[.column.xx-small]
=== SuperConductor
[.column.x-small.left.decentlightbg]
--
.Model equations
[stem]
[latexmath.xx-small]
++++
\begin{aligned}
&\frac{\partial u}{\partial t}-\nabla \cdot M\left(\nabla\left(\frac{d f}{d u}-\lambda \nabla^{2} u\right)\right)&=0 \quad \text { in } \Omega \text {, }\\
&M\left(\nabla\left(\frac{d f}{d u}-\lambda \nabla^{2} u\right)\right)&=0 \text { on } \partial \Omega,\\
&M \lambda \nabla u \cdot n&=0 \quad \text { on } \partial \Omega .
-\frac{1}{\mu}\Delta a_\theta + \frac{1}{\mu r^2}a_\theta + \sigma \frac{\partial a_\theta}{\partial t} =0 &\text{ in } \Omega \\
a_\theta = \frac{r}{2}\text{B}_\text{applied} &\text{ on } \partial\Omega
\end{aligned}
++++

.Mixed Form
[stem]
.Non-Linear Part (e-j power law):
[latexmath.xx-small]
++++
\begin{array}{cc}
\frac{\partial c}{\partial t}-\nabla \cdot M \nabla \mu=&0 \quad \text { in } \Omega, \\
\mu-\frac{d f}{d c}+\lambda \nabla^{2} c&=0 & \text { in } \Omega .
\end{array}
\sigma=\begin{cases}\frac{j_c}{e_c}\left(\frac{||-\partial a_\theta / \partial t||}{e_c}\right)^{(1-n)/n} &\text{in Superconductor}\\
0 &\text{in Air} \end{cases}
++++

// picture with plot
// image:Figures/feelpp/feelpp-example_superconduct.png[height=200]

// picture without plot
image:Figures/feelpp/feelpp-example_supra.png[height=300]
--
[.column.small.is-two-thirds]
--
.Bulk Superconductor Model
[source,json]
----

"Models":{
"cfpdes":{ "equations":"magnetic" },
"magnetic":{
"common":{"setup":{"unknown":{
"basis":"Pch1",
"name":"Atheta","
symbol":"Atheta"
}}},
"models":[{
"name":"magnetic_Conductor",
"materials":"Conductor",
"setup":{"coefficients":{
"c":"x/mu:x:mu",
"a":"1/mu/x:mu:x",
"d":"materials_Conductor_sigma*x
:materials_Conductor_sigma:x"}}
},{
"name":"magnetic_Air",
"materials":"Air",
"setup":{"coefficients":{
"c":"x/mu:x:mu",
"a":"1/mu/x:mu:x"}}}
]
}
}
...
----
--
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[.columns]
=== Supra Conductor
=== SuperConductor

[.column]
--
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Figures/feelpp/feelpp-example_supra.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.