# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=45

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 46

---

## [Stokes Flow with Pressure Inlet Conditions](https://discourse.julialang.org/t/stokes-flow-with-pressure-inlet-conditions/128577)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 6\
**Last updated:** [May 1, 2025, 10:03am UTC](https://discourse.julialang.org/t/stokes-flow-with-pressure-inlet-conditions/128577 "2025-05-01T10:03:24Z")

</div>

Are there examples of simulating (Navier-)Stokes flow by imposing pressure inlet conditions using VoronoiFVM, WaterLilly, Oceananigans, Trixi or similar? Thx.

---

## [VoronoiFVM.BlockStrategy: Results documented?](https://discourse.julialang.org/t/voronoifvm-blockstrategy-results-documented/128576)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 5\
**Last updated:** [April 30, 2025, 6:46pm UTC](https://discourse.julialang.org/t/voronoifvm-blockstrategy-results-documented/128576 "2025-04-30T18:46:07Z")

</div>

Congrats to the VoroniFVM developers to making their BlockStrategy available! Have results obtained using this strategy been reported somewhere? Thx!

---

## [Arrows for annotation in Makie.jl](https://discourse.julialang.org/t/arrows-for-annotation-in-makie-jl/108374)

<div class="topic-metadata">

**Author:** [@nari](https://discourse.julialang.org/u/nari)\
**Replies:** 4\
**Last updated:** [April 29, 2025, 4:37pm UTC](https://discourse.julialang.org/t/arrows-for-annotation-in-makie-jl/108374 "2025-04-29T16:37:30Z")

</div>

Makie.jl has arrows, which are suitable for illustrating vector fields, and annotations seem to be out of their intended use. If we want to annotate with arrows like matplotlib’s anotations, what is the best way in Maki…

---

## [Defining variable with varying number of index sets](https://discourse.julialang.org/t/defining-variable-with-varying-number-of-index-sets/128478)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 8\
**Last updated:** [April 29, 2025, 2:15pm UTC](https://discourse.julialang.org/t/defining-variable-with-varying-number-of-index-sets/128478 "2025-04-29T14:15:48Z")

</div>

I want to create a JuMP variable with the syntax @variable(model, \[U\]) such that it is equivalent to @variable(model, \[S,T\]) How can I ‘pack’ S,T into U such that it exapnds to S,T in the @variable syntax? What I wo…

---

## [How to interface between functional and macro syntax in MTK](https://discourse.julialang.org/t/how-to-interface-between-functional-and-macro-syntax-in-mtk/128501)

<div class="topic-metadata">

**Author:** [@Matthew1](https://discourse.julialang.org/u/Matthew1)\
**Replies:** 4\
**Last updated:** [April 29, 2025, 12:56pm UTC](https://discourse.julialang.org/t/how-to-interface-between-functional-and-macro-syntax-in-mtk/128501 "2025-04-29T12:56:25Z")

</div>

How does one pass structural parameters from a @mtkmodel to a @component function? Is it possible to sort of convert between the positional syntax of @component function to the keyword syntax of @mtkmodel (for structural…

---

## [Mean‐Field Games “Crowd Control” Problem in Julia: HJB OK, but Struggling With Fokker‐Planck Positivity in Gridap](https://discourse.julialang.org/t/mean-field-games-crowd-control-problem-in-julia-hjb-ok-but-struggling-with-fokker-planck-positivity-in-gridap/128134)

<div class="topic-metadata">

**Author:** [@Ciccisio](https://discourse.julialang.org/u/Ciccisio)\
**Replies:** 2\
**Last updated:** [April 29, 2025, 10:21am UTC](https://discourse.julialang.org/t/mean-field-games-crowd-control-problem-in-julia-hjb-ok-but-struggling-with-fokker-planck-positivity-in-gridap/128134 "2025-04-29T10:21:30Z")

</div>

Hi everyone, I’m relatively new to Julia and I’m trying to solve a crowd control Mean Field Game (MFG) problem (inspired by Yves Achdou’s work " Mean Field Games for Modeling Crowd Motion") consisting of: A Hamilton–J…

---

## [Fitting a projection DPP by maximizing a sum of log determinants](https://discourse.julialang.org/t/fitting-a-projection-dpp-by-maximizing-a-sum-of-log-determinants/128502)

<div class="topic-metadata">

**Author:** [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Replies:** 5\
**Last updated:** [April 29, 2025, 10:16am UTC](https://discourse.julialang.org/t/fitting-a-projection-dpp-by-maximizing-a-sum-of-log-determinants/128502 "2025-04-29T10:16:39Z")

</div>

Hi! I am trying to solve the following optimization problem where I am trying to estimate the L-matrix of a projection determinantal point process (DPP) which is known to be of form U U^T where U is an M \\times N matrix …

---

## [Access node in custom\_recorders during historical simulation (SDDP.jl)](https://discourse.julialang.org/t/access-node-in-custom-recorders-during-historical-simulation-sddp-jl/128507)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 1\
**Last updated:** [April 29, 2025, 12:40am UTC](https://discourse.julialang.org/t/access-node-in-custom-recorders-during-historical-simulation-sddp-jl/128507 "2025-04-29T00:40:14Z")

</div>

Hey, I am calculating the dual values of some constraints during historical simulation, and the constraint index depends on the node in the body of the problem. Therefore, in the simulation part, I need to refer to the n…

---

## [Errors reported during Pkg.test("CUDA")](https://discourse.julialang.org/t/errors-reported-during-pkg-test-cuda/128316)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 6\
**Last updated:** [April 28, 2025, 5:45pm UTC](https://discourse.julialang.org/t/errors-reported-during-pkg-test-cuda/128316 "2025-04-28T17:45:17Z")

</div>

Hello, While I’ve been using Julia for a number of years now, this is my first attempt to use CUDA with Julia. I’ve encountered some errors while running the tests. OS: Windows 11 | Version 10.0.26120 Build 26120 juli…

---

## [Makie parent/children relationships](https://discourse.julialang.org/t/makie-parent-children-relationships/128457)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 5\
**Last updated:** [April 28, 2025, 2:24pm UTC](https://discourse.julialang.org/t/makie-parent-children-relationships/128457 "2025-04-28T14:24:28Z")

</div>

I am new to Makie, so I am still on the learning curve. I am trying to understand the parent/children relationships. Assume that I have a Figure with several Axes, and each Axis contains several Plots. Assume that I …

---

## [How can I use Makie to create a complex composite figure?](https://discourse.julialang.org/t/how-can-i-use-makie-to-create-a-complex-composite-figure/128480)

<div class="topic-metadata">

**Author:** [@cocolar201](https://discourse.julialang.org/u/cocolar201)\
**Replies:** 5\
**Last updated:** [April 28, 2025, 2:48pm UTC](https://discourse.julialang.org/t/how-can-i-use-makie-to-create-a-complex-composite-figure/128480 "2025-04-28T14:48:09Z")

</div>

How can I use Makie to create a complex composite figure? A plot like this：

---

## [How to add legend that overlays marker and line color](https://discourse.julialang.org/t/how-to-add-legend-that-overlays-marker-and-line-color/61571)

<div class="topic-metadata">

**Author:** [@vjd](https://discourse.julialang.org/u/vjd)\
**Replies:** 9\
**Last updated:** [April 28, 2025, 9:09am UTC](https://discourse.julialang.org/t/how-to-add-legend-that-overlays-marker-and-line-color/61571 "2025-04-28T09:09:08Z")

</div>

is it possible to have a the legend for marker and line overlay on top each other if they follow the same color as in the code and figure below. I am still not sure exactly on the thinking behind creating the legend f…

---

## [How does SDDP provide decision for an out-of-sample state?](https://discourse.julialang.org/t/how-does-sddp-provide-decision-for-an-out-of-sample-state/128433)

<div class="topic-metadata">

**Author:** [@petr-a](https://discourse.julialang.org/u/petr-a)\
**Replies:** 2\
**Last updated:** [April 28, 2025, 8:47am UTC](https://discourse.julialang.org/t/how-does-sddp-provide-decision-for-an-out-of-sample-state/128433 "2025-04-28T08:47:04Z")

</div>

Hello! I’m new to SDDP and Julia and I wonder how the policy evaluation works (math behind it) for states which are out of the scenario lattice which is used to train the algorithm? For context: I’m solving the problem…

---

## [Julia code/package to read and write RDF/OWL turtle files](https://discourse.julialang.org/t/julia-code-package-to-read-and-write-rdf-owl-turtle-files/128350)

<div class="topic-metadata">

**Author:** [@kobusherbst](https://discourse.julialang.org/u/kobusherbst)\
**Replies:** 4\
**Last updated:** [April 28, 2025, 6:09am UTC](https://discourse.julialang.org/t/julia-code-package-to-read-and-write-rdf-owl-turtle-files/128350 "2025-04-28T06:09:26Z")

</div>

Does anyone know where to find a package or example code to read and write turtle files containing RDF or OWL ontologies? There is a package (JuliaPackageMirrors/RDF.jl: Julia package mirror.), but it has not been update…

---

## [Custom dot product for GMRES](https://discourse.julialang.org/t/custom-dot-product-for-gmres/128313)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 14\
**Last updated:** [April 28, 2025, 3:39am UTC](https://discourse.julialang.org/t/custom-dot-product-for-gmres/128313 "2025-04-28T03:39:58Z")

</div>

Is it possible to define a custom inner product for gmres in Krylov.jl ?

---

## [Prevent dual ray calculation when using \`HiGHS\`](https://discourse.julialang.org/t/prevent-dual-ray-calculation-when-using-highs/128414)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 10:23pm UTC](https://discourse.julialang.org/t/prevent-dual-ray-calculation-when-using-highs/128414 "2025-04-27T22:23:02Z")

</div>

I’m seeing the following log with an older model that I’ve just updated: Running HiGHS 1.10.0 (git hash: fd8665394e): Copyright (c) 2025 HiGHS under MIT licence terms LP has 51118 rows; 38919 cols; 128913 nonzeros Coe…

---

## [Orthonormal axes in layout of PlotlyJS plot (as set\_aspect="equal" in python)](https://discourse.julialang.org/t/orthonormal-axes-in-layout-of-plotlyjs-plot-as-set-aspect-equal-in-python/128463)

<div class="topic-metadata">

**Author:** [@jowsky](https://discourse.julialang.org/u/jowsky)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 8:39pm UTC](https://discourse.julialang.org/t/orthonormal-axes-in-layout-of-plotlyjs-plot-as-set-aspect-equal-in-python/128463 "2025-04-27T20:39:02Z")

</div>

Hello there, I am trying to plot a PlotlyJS 2D scatter plot with orthonormal axes, i.e. x and y axes of same scale, much like set\_aspect="equal" in matplotlib.pyplot in python. Unfortunately, I can’t manage to do it. I…

---

## [How to change PlotlyJS theme](https://discourse.julialang.org/t/how-to-change-plotlyjs-theme/128435)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 7:39am UTC](https://discourse.julialang.org/t/how-to-change-plotlyjs-theme/128435 "2025-04-27T07:39:21Z")

</div>

I begin to use PlotlyJS and I wonder how to change the theme. I also wonder about the right Plotly julia package (PlotlyJS/PlotlyLight). Best

---

## [How to retrieve axis handle from figure object?](https://discourse.julialang.org/t/how-to-retrieve-axis-handle-from-figure-object/82570)

<div class="topic-metadata">

**Author:** [@hanshinlee77](https://discourse.julialang.org/u/hanshinlee77)\
**Replies:** 5\
**Last updated:** [April 26, 2025, 5:51pm UTC](https://discourse.julialang.org/t/how-to-retrieve-axis-handle-from-figure-object/82570 "2025-04-26T17:51:53Z")

</div>

Hello, I have a function that creates a Makie (CairoMakie) plot and returns its figure object. Occasionally, I need to modify some of the figure settings (e.g. axis limits) after this function is executed and the figur…

---

## [Change loss function depending on the iteration count within Optim.jl](https://discourse.julialang.org/t/change-loss-function-depending-on-the-iteration-count-within-optim-jl/128362)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 4\
**Last updated:** [April 25, 2025, 10:24pm UTC](https://discourse.julialang.org/t/change-loss-function-depending-on-the-iteration-count-within-optim-jl/128362 "2025-04-25T22:24:50Z")

</div>

Hi, let’s say I have a loss function which I want to change depending on the iteration count. For example: function l(x, target) target\_warp = f\_warp(target, iteration\_count) sum(abs2, x .- target\_warp) end I…

---

## [Singular Exception with LKJCholesky](https://discourse.julialang.org/t/singular-exception-with-lkjcholesky/85020)

<div class="topic-metadata">

**Author:** [@joshualeond](https://discourse.julialang.org/u/joshualeond)\
**Replies:** 24\
**Last updated:** [April 25, 2025, 4:41pm UTC](https://discourse.julialang.org/t/singular-exception-with-lkjcholesky/85020 "2025-04-25T16:41:08Z")

</div>

Hi there, I’ve seen the recent development for the LKJCholesky implementations within Distributions.jl and am attempting to put it to use within Turing.jl. I understand that Turing.jl doesn’t yet support Cholesky Variat…

---

## [Using Catalyst ODEproblem and algebraic equations](https://discourse.julialang.org/t/using-catalyst-odeproblem-and-algebraic-equations/128375)

<div class="topic-metadata">

**Author:** [@AnthonySoive](https://discourse.julialang.org/u/AnthonySoive)\
**Replies:** 4\
**Last updated:** [April 25, 2025, 12:50pm UTC](https://discourse.julialang.org/t/using-catalyst-odeproblem-and-algebraic-equations/128375 "2025-04-25T12:50:33Z")

</div>

Dear all, I am trying to add algebraic equations to a Catalyst reaction system. I read old post on this subject where It was not possible to do with ODEproblem function. Is it still the case? For example, I’ve tried thi…

---

## [Could \`svd!\` support option \`check=false\` like \`lu!\` and other factorizations?](https://discourse.julialang.org/t/could-svd-support-option-check-false-like-lu-and-other-factorizations/128386)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [April 25, 2025, 12:17pm UTC](https://discourse.julialang.org/t/could-svd-support-option-check-false-like-lu-and-other-factorizations/128386 "2025-04-25T12:17:38Z")

</div>

The check=false option present in lu!, bunchkaufman! and other factorization routines is super useful to handle exceptions efficiently. Unfortunately, the svd! doesn’t have this option and I am getting LinearAlgebra.LAPA…

---

## [StackOverflow when passing dictionary to ODE solver?](https://discourse.julialang.org/t/stackoverflow-when-passing-dictionary-to-ode-solver/128363)

<div class="topic-metadata">

**Author:** [@Theodore\_Rieger](https://discourse.julialang.org/u/Theodore_Rieger)\
**Replies:** 2\
**Last updated:** [April 25, 2025, 11:21am UTC](https://discourse.julialang.org/t/stackoverflow-when-passing-dictionary-to-ode-solver/128363 "2025-04-25T11:21:17Z")

</div>

Hi, I’m getting a stackoverflow error (full error message below) when I try to pass my parameters as a dictionary. Simple example: using DifferentialEquations using Plots using StatsKit function lorenz!(du, u, p, t) …

---

## [Initial guess for array-valued variables not passed to NonlinearProblem](https://discourse.julialang.org/t/initial-guess-for-array-valued-variables-not-passed-to-nonlinearproblem/128372)

<div class="topic-metadata">

**Author:** [@sass-jacob](https://discourse.julialang.org/u/sass-jacob)\
**Replies:** 1\
**Last updated:** [April 25, 2025, 11:07am UTC](https://discourse.julialang.org/t/initial-guess-for-array-valued-variables-not-passed-to-nonlinearproblem/128372 "2025-04-25T11:07:35Z")

</div>

I have created a MWE in which it seems the initial guess for array-valued variables set as irreducible is not passed to NonlinearProblem. Please advise if there is an alternative way to do this or if an issue should be p…

---

## [Using operator relative entropy cone in Julia](https://discourse.julialang.org/t/using-operator-relative-entropy-cone-in-julia/128285)

<div class="topic-metadata">

**Author:** [@zhouhh17](https://discourse.julialang.org/u/zhouhh17)\
**Replies:** 7\
**Last updated:** [April 25, 2025, 11:05am UTC](https://discourse.julialang.org/t/using-operator-relative-entropy-cone-in-julia/128285 "2025-04-25T11:05:37Z")

</div>

Question Is it possible to optimize over the following operator relative entropy cone natively in Julia: \\text{cl}\\{(A, B, C)\\in H^n\_+ \\times H^n\_+ \\times H^n: C \\succeq - A^{1/2} \\log(A^{-1/2} B A^{-1/2}) A^{1/2}\\} w…

---

## [Best libraries for experimenting with small scale models?](https://discourse.julialang.org/t/best-libraries-for-experimenting-with-small-scale-models/128106)

<div class="topic-metadata">

**Author:** [@stur86](https://discourse.julialang.org/u/stur86)\
**Replies:** 7\
**Last updated:** [April 25, 2025, 2:38am UTC](https://discourse.julialang.org/t/best-libraries-for-experimenting-with-small-scale-models/128106 "2025-04-25T02:38:27Z")

</div>

I’m looking for tools to do ML experiments in Julia. Specifically, I’d like trying to design some small-ish models (hundreds to thousands of parameters) and experiment with different approaches that aren’t just different…

---

## [Getting duals for nonlinear programming problem](https://discourse.julialang.org/t/getting-duals-for-nonlinear-programming-problem/11357)

<div class="topic-metadata">

**Author:** [@pedroborgesmelo](https://discourse.julialang.org/u/pedroborgesmelo)\
**Replies:** 7\
**Last updated:** [April 24, 2025, 3:55pm UTC](https://discourse.julialang.org/t/getting-duals-for-nonlinear-programming-problem/11357 "2025-04-24T15:55:42Z")

</div>

Hi Guys! I’m having problems getting the dual variables for a nonlinear problem, with Ipopt as the solver… I just found this post here of 2015, but not working here and a bit old: https://github.com/JuliaOpt/JuMP.jl/i…

---

## [Getting GPU info](https://discourse.julialang.org/t/getting-gpu-info/30913)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 4\
**Last updated:** [April 24, 2025, 11:41am UTC](https://discourse.julialang.org/t/getting-gpu-info/30913 "2025-04-24T11:41:40Z")

</div>

Hi folks, I’m kinda starting with all this CUDA stuff, and am working with different GPUs on different computers (home, work, etc…). I’m building my first kernels, and one of the things that I need to know is the size o…

---

## [Continuous callbacks checking on u works on standard ODE version but does not work in the Jump Process](https://discourse.julialang.org/t/continuous-callbacks-checking-on-u-works-on-standard-ode-version-but-does-not-work-in-the-jump-process/127390)

<div class="topic-metadata">

**Author:** [@atiyabzafar](https://discourse.julialang.org/u/atiyabzafar)\
**Replies:** 9\
**Last updated:** [April 24, 2025, 10:17am UTC](https://discourse.julialang.org/t/continuous-callbacks-checking-on-u-works-on-standard-ode-version-but-does-not-work-in-the-jump-process/127390 "2025-04-24T10:17:11Z")

</div>

I am trying to solve a system both deterministically and stochastically. The solutions match for my system in both cases without callback. But the callback does not seem to be working. function condition1(u,t,integrato…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=44)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=46)
