| /petsc/src/snes/tutorials/network/water/ |
| H A D | waterreaddata.c | 10 PetscScalar *head = pump->headcurve.head, *flow = pump->headcurve.flow; in PumpHeadCurveResidual() local 19 …f[0] += x[0] - x[1] * PetscPowScalar(flow[i], x[2]) - head[i]; … in PumpHeadCurveResidual() 20 …f[1] += (x[0] - x[1] * PetscPowScalar(flow[i], x[2]) - head[i]) * -1 * PetscPowScalar(flow[i], x[2… in PumpHeadCurveResidual() 21 …f[2] += (x[0] - x[1] * PetscPowScalar(flow[i], x[2]) - head[i]) * -1 * x[1] * x[2] * PetscPowScala… in PumpHeadCurveResidual() 33 PetscScalar *head, *flow, *x; in SetPumpHeadCurveParams() local 38 flow = pump->headcurve.flow; in SetPumpHeadCurveParams() 41 flow[1] = 0; in SetPumpHeadCurveParams() 43 flow[2] = 2 * flow[0]; /* 200% of design flow -- From EPANET manual */ in SetPumpHeadCurveParams() 301 pump->headcurve.flow[pump->headcurve.npt] = curve_x * GPM_CFS; in WaterReadData()
|
| H A D | waterfunctions.c | 25 PetscScalar *farr, hf, ht, flow; in FormFunction_Water() local 62 flow = 0.0; in FormFunction_Water() 65 flow = Flow_Pipe(pipe, hf, ht); in FormFunction_Water() 68 flow = Flow_Pump(pump, hf, ht); in FormFunction_Water() 71 if (vertexnode1->type == VERTEX_TYPE_JUNCTION) farr[offsetnode1] -= flow; in FormFunction_Water() 72 if (vertexnode2->type == VERTEX_TYPE_JUNCTION) farr[offsetnode2] += flow; in FormFunction_Water()
|
| H A D | water.h | 77 PetscScalar flow[3]; /* flow (gpm) */ member
|
| /petsc/src/tao/bound/utils/ |
| H A D | isutil.c | 27 PetscInt nfull, nreduced, nreduced_local, rlow, rhigh, flow, fhigh; in TaoVecGetSubVec() local 51 PetscCall(VecGetOwnershipRange(vfull, &flow, &fhigh)); in TaoVecGetSubVec() 76 PetscCall(VecGetOwnershipRange(vfull, &flow, &fhigh)); in TaoVecGetSubVec() 80 …fhigh - flow), PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "IS local size %" PetscInt_FMT " > Vec l… in TaoVecGetSubVec() 81 for (i = 0; i < nlocal; ++i) rv[s[i] - flow] = fv[s[i] - flow]; in TaoVecGetSubVec()
|
| /petsc/src/snes/tutorials/network/power/ |
| H A D | case9.m | 2 % CASE9 Power flow data for 9 bus, 3 generator case.
|
| /petsc/doc/tutorials/ |
| H A D | guide_to_examples_by_physics.md | 101 is used to model heat flow, time-dependent diffusion, and other physical processes. 120 are appropriate for flow of an incompressible fluid at low to moderate Reynolds number.
|
| /petsc/doc/community/meetings/2025/ |
| H A D | index.md | 32 | 1:30 pm | Emergent flow asymmetries from the metachronal motion of the soft flexible paddles of … 83 :::{topic} **Emergent flow asymmetries from the metachronal motion of the soft flexible paddles of … 88 …ifferences in the phase can alter the collective kinematics and resulting flow field. Finally, we … 120 … method and other relevant numerics, such as Navier-Stokes and multiphase flow solvers. This prese… 150 …hysiological stroke volumes, pressure-volume loops, and valvular pressure-flow relationships, ther… 184 …mpressible flow problems in CFD. The new framework is demonstrated through benchmark simulations, … 204 …flow in the asthenosphere, and length-scales of decoupling between the plates and asthenosphere at…
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 290 (mfinlet/allow-reverse-flow? #t) 291 (vinlet/update-mass-flow? #f) 564 (acoustics/flow-time ()) 711 (heatxc/cross-flow? #t) 808 (autosave/flow-time-freq/data 0) 1872 (dpm/erosion/simulation-control/twoway-couple-dpm-and-flow? #f) 1875 (dpm/erosion/simulation-control/number-of-flow-iterations 100) 2074 (dpm/fluid-flow-time-stepping? #t) 2081 (dpm/flow-time 0.) 2195 (dpm/variable-interpolation/bci/interpolate-flow-gradients? #t) [all …]
|
| /petsc/doc/manual/ |
| H A D | dmnetwork.md | 10 ## Application flow 12 The general flow of an application code using `DMNETWORK` is as
|
| H A D | dmstag.md | 7 be useful for problems in many domains, including fluid flow, MHD, and seismology.
|
| H A D | ts.md | 1362 the progress of the adjoint work flow,
|
| H A D | mat.md | 719 flow) and “multi-physics” problems. Usually the number of blocks is
|
| /petsc/doc/developers/ |
| H A D | matrices.md | 69 (ARCO1), courtesy of Rick Dean of Arco, arises in multiphase flow 72 matrix (CFD), arises in a three-dimensional Euler flow simulation and
|
| H A D | buildsystem.md | 53 ### Explicit control flow
|
| /petsc/doc/community/meetings/2023/ |
| H A D | index.md | 376 parallel efficiency. Further potential applications include traffic flow 377 simulations on a highway network and blood flow simulations on an arterial 500 permeability, and the nonlinear constitutive relations for multiphase flow; 675 blood flow, etc. This work presents the construction of the numerical 700 governing flow equations are solved in a coupled fashion, i.e., as part of 701 a single equation system involving all flow variables. Various modules are 702 available within the code in addition to its core flow solver, allowing it to 703 model interfacial and particulate flows at various flow regimes and scales.
|
| /petsc/doc/miscellaneous/ |
| H A D | applications_publications.md | 36 volume fraction of magma present; solid streamlines show the mantle flow; dashed contours
|
| /petsc/lib/petsc/conf/ |
| H A D | rules_util.mk | 116 …TSC_ERR | grep " if " | grep -v "__VA_ARGS__" | grep -v "then;" | grep -v flow.c >> checkbadSource…
|
| /petsc/doc/ |
| H A D | index.md | 116 …code for massively parallel simulation of subsurface flow, reactive transport, geomechanics, and e…
|
| H A D | petsc.bib | 168 …title = {Linear and nonlinear solvers for simulating multiphase flow within large-scale e… 186 …title = {Preconditioned multigrid methods for compressible flow calculations on stretched… 1144 parallel solution of very large power flow problems}, 1836 title = {Computational arterial flow modeling using a parallel {Navier-Stokes} solver}, 1869 with application to blood flow modeling}, 1988 note = {Blood flow modeling at the microscale including effects on individual blood 2251 keywords = {Aortic aneurysm, flow simulation, streamline diffusion FEM, indefinite matrix, 2782 title = {Implicit solution of the material transport in Stokes flow simulation: Toward 2861 algorithms and flow solver}, 2954 discretizations of heterogeneous {S}tokes flow }, [all …]
|
| /petsc/doc/tutorials/physics/ |
| H A D | guide_to_stokes.md | 17 describe slow flow of an incompressible fluid with velocity $u$, pressure $p$, and body force $f$. 42 …n demands that the velocity field be divergence-free, indicating that the flow is incompressible. …
|
| /petsc/doc/faq/ |
| H A D | index.md | 1576 (e.g. incompressible flow) or strongly nonsymmetric operators (e.g. low-Mach hyperbolic
|