Home
last modified time | relevance | path

Searched refs:energy (Results 1 – 22 of 22) sorted by relevance

/libCEED/examples/solids/include/
H A Dmatops.h37 …ComputeStrainEnergy(DM dm_energy, UserMult user, CeedOperator op_energy, Vec X, PetscReal *energy);
40 PetscErrorCode RegressionTests_solids(AppCtx app_ctx, PetscReal energy);
H A Dmisc.h41 PetscErrorCode RegressionTests_solids(AppCtx app_ctx, PetscReal energy);
H A Dstructs.h131 CeedQFunctionUser setup_geo, residual, jacobian, energy, diagnostic, true_soln; member
/libCEED/examples/solids/tests-output/
H A DMR-strain1.csv1 increment,energy
H A DMR-strain.csv1 increment,energy
H A DNH-strain.csv1 increment,energy
/libCEED/examples/solids/src/
H A Dmatops.c219 …ComputeStrainEnergy(DM dmEnergy, UserMult user, CeedOperator op_energy, Vec X, PetscReal *energy) { in ComputeStrainEnergy() argument
254 (*energy) = 0; in ComputeStrainEnergy()
255 for (CeedInt i = 0; i < length; i++) (*energy) += e[i]; in ComputeStrainEnergy()
259 PetscCall(MPI_Allreduce(MPI_IN_PLACE, energy, 1, MPIU_REAL, MPIU_SUM, user->comm)); in ComputeStrainEnergy()
H A Dmisc.c237 PetscErrorCode RegressionTests_solids(AppCtx app_ctx, PetscReal energy) { in RegressionTests_solids() argument
242 PetscReal error = PetscAbsReal(energy - energy_ref) / energy_ref; in RegressionTests_solids()
245 …WORLD, "Energy %e does not match expected energy %e: relative tolerance %e > %e\n", (double)energy, in RegressionTests_solids()
H A Dsetup-libceed.c426 CeedQFunctionCreateInterior(ceed, 1, problem_data.energy, problem_data.energy_loc, &qf_energy); in SetupLibceedFineLevel()
/libCEED/examples/solids/
H A Delasticity.c638 CeedScalar energy; in main() local
639 … PetscCall(ComputeStrainEnergy(dm_energy, res_ctx, ceed_data[fine_level]->op_energy, U, &energy)); in main()
643 PetscCall(PetscPrintf(comm, " Strain Energy : %.12e\n", energy)); in main()
645 PetscCall(PetscViewerASCIIPrintf(app_ctx->energy_viewer, "%f,%e\n", load_increment, energy)); in main()
773 PetscReal energy; in main() local
774 PetscCall(ComputeStrainEnergy(dm_energy, res_ctx, ceed_data[fine_level]->op_energy, U, &energy)); in main()
777 PetscCall(PetscPrintf(comm, " Strain Energy : %.12e\n", energy)); in main()
779 PetscCall(RegressionTests_solids(app_ctx, energy)); in main()
H A Dindex.md83 Here, we define a strain energy density functional $\Phi(\bm \epsilon) \in \mathbb R$ and obtain th…
87 $$ (strain-energy-grad)
90 The strain energy density functional cannot be an arbitrary function $\Phi(\bm \epsilon)$; it can o…
99 For the linear elasticity model, the strain energy density is given by
144 However, the strain energy density differs and is given by
268 Recall that the strain energy density functional can only depend upon invariants.
280 $$ (neo-hookean-energy)
284 To evaluate {eq}`strain-energy-grad`, we make use of
291 Carrying through the differentiation {eq}`strain-energy-grad` for the model {eq}`neo-hookean-energy
322 A coupled Mooney-Rivlin strain energy density (cf. Neo-Hookean {eq}`neo-hookean-energy`) is {cite}`…
[all …]
H A DREADME.md225 …name{trace} \bm{E}$, $\operatorname{trace} \bm{E}^2$, $\lvert J \rvert$, and strain energy density.
/libCEED/examples/solids/problems/
H A Dlinear.c30 .energy = ElasEnergy_Linear,
H A Dfinite-strain-mooney-rivlin.c34 .energy = ElasFSEnergy_MR,
H A Dfinite-strain-neo-hookean.c34 .energy = ElasFSEnergy_NH,
/libCEED/examples/solids/qfunctions/
H A Dlinear.h224 CeedScalar(*energy) = (CeedScalar(*))out[0]; in ElasEnergy_Linear()
275 energy[i] = in ElasEnergy_Linear()
H A Dfinite-strain-neo-hookean.h403 CeedScalar(*energy) = (CeedScalar(*))out[0]; in ElasFSEnergy_NH()
458energy[i] = (lambda * logJ * logJ / 2. - mu * logJ + mu * (E2[0][0] + E2[1][1] + E2[2][2]) / 2.) *… in ElasFSEnergy_NH()
H A Dfinite-strain-mooney-rivlin.h424 CeedScalar(*energy) = (CeedScalar(*))out[0]; in ElasFSEnergy_MR()
500energy[i] = (0.5 * lambda * (logJ) * (logJ) - (mu_1 + 2 * mu_2) * logJ + (mu_1 / 2.) * (I_1 - 3) +… in ElasFSEnergy_MR()
/libCEED/examples/fluids/
H A Dindex.md28 …$E$ the total energy density (defined as $E = \rho e$, where $e$ is the total energy including the…
45 … \leftarrow\textrm{ momentum density}\\ \leftarrow\textrm{ energy density} \e…
259 3. energy stabilization $\tau_E$
318 {ref}`problem-advection`, the problem of the transport of energy in a uniform vector velocity field…
522 A simplified version of system {eq}`eq-ns`, only accounting for the transport of total energy, is g…
529 In this particular test case, a blob of total energy (defined by a characteristic radius $r_c$) is …
533 In this case, a uniform circular velocity field transports the blob of total energy.
534 …We have solved {eq}`eq-advection` applying zero energy density $E$, and no-flux for $\bm{u}$ on th…
538 …linear velocity field, enters the domain and transports the blob of total energy out of the domain.
671 …ip and non-penetration boundary conditions for $\bm{u}$, and no-flux for mass and energy densities.
[all …]
H A DREADME.md8 The state variables are mass density, momentum density, and energy density.
302 …nsity $\rho$ and momentum density $\rho \bm u$ constant while advecting "total energy density" $E$.
380 - Total energy of inflow wind when `-wind_type translation`
573 - Stabilization energy constant, $C_E$
/libCEED/doc/papers/joss/
H A Dpaper.md149 …isson problem) or CPU and GPU systems of similar (purchase/operating and energy) cost. These tests…
161 ![Strain energy density in a twisted Neo-Hookean beam.\label{fig:Solids}](img/SolidTwistExample.jpe…
/libCEED/doc/sphinx/source/
H A Dreleasenotes.md283 - {ref}`example-petsc-elasticity` example updated with strain energy computation and more flexible …