<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>openCARP Q&amp;A - Recent questions and answers</title>
<link>https://opencarp.org/q2a/qa</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: Simulations output depends on --NP number</title>
<link>https://opencarp.org/q2a/1611/simulations-output-depends-on-np-number?show=1640#a1640</link>
<description>&lt;p&gt;Hey, I just filed an issue that affects very specific setups of imp_regions and tag numbers here&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://git.opencarp.org/openCARP/openCARP/-/work_items/519&quot;&gt;https://git.opencarp.org/openCARP/openCARP/-/work_items/519&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&#039;t have your files anymore, but the way this issue presents had me thinking about your problem. Maybe you can read the issue and look at your .par file again to check if it fits.&lt;/p&gt;&lt;p&gt;Best,&lt;/p&gt;&lt;p&gt;Tobias&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1611/simulations-output-depends-on-np-number?show=1640#a1640</guid>
<pubDate>Mon, 03 Aug 2026 15:42:17 +0000</pubDate>
</item>
<item>
<title>Answered: TuneCV does not seems to work</title>
<link>https://opencarp.org/q2a/1636/tunecv-does-not-seems-to-work?show=1637#a1637</link>
<description>&lt;p&gt;Thanks for reporting.&amp;nbsp;I can reproduce this, it&#039;s a bug on our side.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;What&#039;s happening:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Recently, we added a new parameter parser to openCARP&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/about/news/new-parameter-parser-supporting-modern-file-formats&quot;&gt;https://opencarp.org/about/news/new-parameter-parser-supporting-modern-file-formats&lt;/a&gt;. This new parser is currently compared to the old one in each simulation, which now seems to clash for this example because there is a bug.&lt;/p&gt;&lt;p&gt;The PSD protocol asks openCARP to save the simulation state at t = 500 ms. openCARP derives the state filename from that time value, and right now two parts of the code disagree on how to write it: one produces 500.0, the other 500.&lt;/p&gt;&lt;p&gt;openCARP currently cross-checks these two against each other at startup as a safety measure. It spots the disagreement, refuses to start, and exits. Because the simulation never runs, vm.igb is never written,&amp;nbsp;which is the FileNotFoundError you see at the end of the traceback. The Python error is just the downstream symptom; the real failure is the parameter check above it.&lt;/p&gt;&lt;p&gt;This only affects protocols that save state at a whole-number time, which is why PSD breaks while the other protocols are fine.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Workaround:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Tell openCARP to use the older parameter handling, which is unaffected:&lt;/p&gt;&lt;p&gt;&lt;em&gt;OPENCARP_PARAM_FALLBACK=legacy python run.py --np 2 --protocol PSD&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Results are unaffected. This only changes which of the two parameter code paths is used. The same thing can be done via the command line, but note the = sign is required, argparse rejects the space-separated form:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;# works&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;python run.py --np 2 --protocol PSD --CARP-opts=&quot;--param-fallback=legacy&quot;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;# does NOT work&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;python run.py --np 2 --protocol PSD --CARP-opts &quot;--param-fallback=legacy&quot;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;The environment variable is the simpler option.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Fix&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;We&#039;re fixing the underlying filename inconsistency; the workaround won&#039;t be needed after that.&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1636/tunecv-does-not-seems-to-work?show=1637#a1637</guid>
<pubDate>Mon, 20 Jul 2026 09:03:01 +0000</pubDate>
</item>
<item>
<title>Answered: Stimulus not properly stimulating</title>
<link>https://opencarp.org/q2a/1634/stimulus-not-properly-stimulating?show=1635#a1635</link>
<description>Hey,&lt;br /&gt;
&lt;br /&gt;
Two things that come to my mind:&lt;br /&gt;
&lt;br /&gt;
1. Are you actually solving bidomain?&lt;br /&gt;
&lt;br /&gt;
The extracellular potential stimuli are only really active if you solve the bidomain equations. Check first if you set bidomain = 1 and that the bath/intra/extra regions are assigned properly.&lt;br /&gt;
&lt;br /&gt;
2. Field strength is too low&lt;br /&gt;
&lt;br /&gt;
Looking at the field gradient in the tissue (V/cm) is what matters here. If I understand it correctly, you want to defibrillate the tissue to stop or perturb the arrhythmia. Defibrillation scale capture needs somewhere in the area of 3-5 V/cm across the tissue. Your 1000mV across 5cm (assuming that&amp;#039;s the endo-epi distance) is in the area of 0.2 V/cm, likely less since part of it drops across the bath and not the tissue.&lt;br /&gt;
&lt;br /&gt;
So check if bidomain = 1. If yes, increase the voltage on your stimulating electrode quite a bit and measure the voltage drop across the tissue. &lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
&lt;br /&gt;
Tobias</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1634/stimulus-not-properly-stimulating?show=1635#a1635</guid>
<pubDate>Wed, 15 Jul 2026 12:49:04 +0000</pubDate>
</item>
<item>
<title>Answered: Providing stimuli at PMJs</title>
<link>https://opencarp.org/q2a/1631/providing-stimuli-at-pmjs?show=1632#a1632</link>
<description>Hi Anoop,&lt;br /&gt;
&lt;br /&gt;
You can define all of these stimuli in the same .par file.</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1631/providing-stimuli-at-pmjs?show=1632#a1632</guid>
<pubDate>Sun, 21 Jun 2026 19:26:54 +0000</pubDate>
</item>
<item>
<title>Answered: How to induce sustained re-entry in 22_forcepps-VARP experiment?</title>
<link>https://opencarp.org/q2a/1629/how-to-induce-sustained-entry-22_forcepps-varp-experiment?show=1630#a1630</link>
<description>&lt;p&gt;The 02/22 tutorial setup directly follows the parameter settings (including conductivity) in the referenced &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.sciencedirect.com/science/article/pii/S0169260724001858&quot;&gt;ForCEPSS paper&lt;/a&gt;, which is for human hearts. If you change the conductivities, and other parameters that alter circuit lengths, you will get different re-entrant behavior (or none at all), and where you pace and for how long, will make a difference. The parameters in protocols.json and plan.json contain all of the parameters than can be used to induce re-entry within a human heart.&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1629/how-to-induce-sustained-entry-22_forcepps-varp-experiment?show=1630#a1630</guid>
<pubDate>Fri, 19 Jun 2026 11:27:16 +0000</pubDate>
</item>
<item>
<title>Answered: Support for Ubuntu 24.04</title>
<link>https://opencarp.org/q2a/1625/support-for-ubuntu-24-04?show=1626#a1626</link>
<description>&lt;p&gt;Hi Anoop,&lt;/p&gt;&lt;p&gt;I compiled in Ubuntu 24.04 following the instructions in the documentation&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/download/installation&quot;&gt;Installation | openCARP&lt;/a&gt;&amp;nbsp;without any issue. If you experience any kind of issues don&#039;t hesitate to write it here.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Jorge&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1625/support-for-ubuntu-24-04?show=1626#a1626</guid>
<pubDate>Mon, 25 May 2026 10:56:01 +0000</pubDate>
</item>
<item>
<title>Answered: Correct usage of adjustments files to apply ionic gradient in biventricular simulations</title>
<link>https://opencarp.org/q2a/1613/correct-adjustments-gradient-biventricular-simulations?show=1618#a1618</link>
<description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;The _perm.dat file is in PETSc parallel ordering by design, it&#039;s a debug artefact and is expected to look scrambled on the mesh. Only _canonical.dat is meant to be displayed.&lt;/p&gt;&lt;p&gt;Can you send the simulator stdout line &lt;em&gt;Adjusted N values for Tomek_editv3.GKs_b&lt;/em&gt;. This tells us whether the lookup itself dropped most indices (N =&amp;nbsp;126323) or whether only the dump path is broken (N = 1429736).&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1613/correct-adjustments-gradient-biventricular-simulations?show=1618#a1618</guid>
<pubDate>Sat, 23 May 2026 07:56:41 +0000</pubDate>
</item>
<item>
<title>Answered: How can plug-ins influence an ionic model?</title>
<link>https://opencarp.org/q2a/1608/how-can-plug-ins-influence-an-ionic-model?show=1609#a1609</link>
<description>&lt;p&gt;In addition to &lt;em&gt;Iion&lt;/em&gt;, various other variables can be modified externally via a plug-in. In general, any variables that can be defined as &lt;em&gt;external();&amp;nbsp;nodal();&lt;/em&gt; can be modified via a plug-in. These variables can be found at the end of the file &lt;em&gt;imp_list.txt&lt;/em&gt; in the &lt;em&gt;physics/limpet/models&lt;/em&gt; folder. Unlike the simple modification of &lt;em&gt;Iion&lt;/em&gt;, it is important to &lt;strong&gt;explicitly multiply&lt;/strong&gt; the equation &lt;strong&gt;by the time step&lt;/strong&gt; used if the variable is integrated within the ODE system of the ion model.&amp;nbsp;&lt;/p&gt;&lt;p&gt;As an example for &lt;em&gt;Ki&lt;/em&gt;, this might mean that we have the implementation of changes to &lt;em&gt;Ki&lt;/em&gt; via the normal &lt;em&gt;diff_Ki &lt;/em&gt;equation within the ion model and we would need to add &lt;em&gt;Ki -= 1e-3 * some_variables;&lt;/em&gt;&amp;nbsp;where 1e-3 is the time step.&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1608/how-can-plug-ins-influence-an-ionic-model?show=1609#a1609</guid>
<pubDate>Wed, 06 May 2026 15:28:26 +0000</pubDate>
</item>
<item>
<title>Answered: How can I visualize torso and heart mesh in meshalyzer?</title>
<link>https://opencarp.org/q2a/1606/how-can-i-visualize-torso-and-heart-mesh-in-meshalyzer?show=1607#a1607</link>
<description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;normally, this should not be an issue.&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you run bidomain simulations, your heart+torso mesh is split into an extracellular (everything belongs to this) and intracellular (only your heart tissue)&amp;nbsp;mesh. As a result, the solutions of the bidomain equation, i.e. phi_e and vm are only available for those meshes &amp;amp; corresponding indexing. If you now try to visualize your results for vm.igb on your input mesh, it will not work and should give you an appropriate error message that the number of nodes in your mesh and solution don&#039;t match.&lt;/p&gt;&lt;p&gt;The most convenient way to get the correct meshes is to use the runtime parameters &lt;strong&gt;gridout_i=3&lt;/strong&gt; and &lt;strong&gt;gridout_e=3&amp;nbsp;&lt;/strong&gt;during your simulation.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&#039;t have an appropriate example at hand to test if there is a way to use meshalyzer after the simulation was done already.&lt;/p&gt;&lt;p&gt;If that is not the issue and your input mesh does not open at all, please give more details about potential errors etc. so we can take a look at it.&lt;/p&gt;&lt;p&gt;Best,&lt;/p&gt;&lt;p&gt;Tobias&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1606/how-can-i-visualize-torso-and-heart-mesh-in-meshalyzer?show=1607#a1607</guid>
<pubDate>Tue, 21 Apr 2026 08:04:38 +0000</pubDate>
</item>
<item>
<title>Answered: Question on units</title>
<link>https://opencarp.org/q2a/1603/question-on-units?show=1604#a1604</link>
<description>&lt;p&gt;Hey Anoop,&lt;/p&gt;&lt;p&gt;I am not sure if it is just a typo on your end because you say it correctly. But, if you want everything in SI units, you have to convert vm_grad to &lt;strong&gt;V/m&lt;/strong&gt; not &lt;strong&gt;mV/m&lt;/strong&gt;. That alone would explain the 1000x magnitude error in your ECGs. Otherwise, it looks correct to me.&lt;/p&gt;&lt;p&gt;The Laplace solver currently does not support current injection. Only dirichlet boundary conditions in the form of an extracellular potential stimulus.&lt;/p&gt;&lt;p&gt;Best,&lt;/p&gt;&lt;p&gt;Tobias&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1603/question-on-units?show=1604#a1604</guid>
<pubDate>Mon, 13 Apr 2026 07:40:55 +0000</pubDate>
</item>
<item>
<title>Answered: How to properly use prepacing_lats when you also have scar that changes the intracellular grid in monodomain.</title>
<link>https://opencarp.org/q2a/1598/properly-prepacing_lats-changes-intracellular-monodomain?show=1602#a1602</link>
<description>Hey Jake,&lt;br /&gt;
&lt;br /&gt;
I think there is currently no way around the indexing issue you experience when you essentially remove parts of the mesh from the intracellular grid at runtime.&lt;br /&gt;
&lt;br /&gt;
The retagging and setup of the mesh is separate from the electrics setup where the LAT prepacing is processed. The electrics setup does not know about the retagging at all and gets initialized from the &amp;quot;new&amp;quot; mesh. That also makes it a bit more difficult to implement such behavior.&lt;br /&gt;
&lt;br /&gt;
The simplest way to achieve what you want to do is to not move the scar tissue into the extracellular bath, but to keep it intracellular with a very small (but non-zero) isotropic conductivity. For monodomain, this might even be the preferred solution, since the scar tissue can still act as a sink for electrical charges. If you move the tissue to extracellular bath, you implicitly get the zero flux Neumann boundary condition on all scar borders.</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1598/properly-prepacing_lats-changes-intracellular-monodomain?show=1602#a1602</guid>
<pubDate>Mon, 16 Mar 2026 13:07:39 +0000</pubDate>
</item>
<item>
<title>Answered: Why are the changes I make in ionic models not applied when creating and loading a dynamic library?</title>
<link>https://opencarp.org/q2a/1600/changes-ionic-models-applied-creating-loading-dynamic-library?show=1601#a1601</link>
<description>&lt;p&gt;I debugged the process of loading&amp;nbsp;the model and found that bench.cc switches to my local &lt;em&gt;_build&lt;/em&gt; folder at some point and uses the model file located there. I opened a ticket [&lt;a rel=&quot;nofollow&quot; href=&quot;https://git.opencarp.org/openCARP/carputils/-/issues/155&quot;&gt;#155&lt;/a&gt;] for this issue so that at least a warning is issued or, better yet, the correct file is loaded from the outset.&lt;/p&gt;&lt;p&gt;However, a current workaround is to rename the modified model. When I named the model &lt;em&gt;Severi2.model&lt;/em&gt;, created the dynamic library and then loaded it, adding the &lt;em&gt;Ko&lt;/em&gt; parameter was effective.&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1600/changes-ionic-models-applied-creating-loading-dynamic-library?show=1601#a1601</guid>
<pubDate>Mon, 09 Mar 2026 15:06:49 +0000</pubDate>
</item>
<item>
<title>Answered: 3D Ventricular Mesh Shows No Wave Propagation - All Activation Times -1.0 Despite Successful 2D Simulations</title>
<link>https://opencarp.org/q2a/1594/ventricular-propagation-activation-successful-simulations?show=1597#a1597</link>
<description>&lt;p&gt;Hey Konstantine,&lt;/p&gt;&lt;p&gt;Thank you for the detailed question.&amp;nbsp;&lt;/p&gt;&lt;p&gt;In general, these meshes are fine for simulations with openCARP with a few caveats.&lt;/p&gt;&lt;p&gt;The one thing that will mess up your entire setup is that those meshes are all in mm. For openCARP you want µm! I suggest taking the 01-350um.vtk.&amp;nbsp;Just convert it to µm first. You can use the &lt;em&gt;-scale&amp;nbsp;&lt;/em&gt;option when using &lt;em&gt;meshtool convert&amp;nbsp;&lt;/em&gt;to convert the vtk to openCARP format. (Additional info: The case file uses tag&amp;nbsp;instead of elemTag. That might also cause some issues along the line, as meshtool potentially only recognizes elemTag. Not 100% certain about that though)&lt;/p&gt;&lt;p&gt;The other thing is that you say you want to resample to 2mm. That will not give you any meaningful results. Especially with the conductivities you chose. When solving the monodomain/bidomain equations, it is recommended to have a mesh resolution of at least 500µm (300µm better, 100µm ideal).&amp;nbsp;Otherwise, you run into all kinds of numerical issues.&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.nature.com/articles/s44161-025-00641-1&quot;&gt;https://www.nature.com/articles/s44161-025-00641-1&lt;/a&gt;&amp;nbsp;is worth a read if you want to know more about potential consequences of low mesh resolutions in cardiac modeling.&lt;/p&gt;&lt;p&gt;Otherwise, I don&#039;t see anything wrong with your command on first glance. Try it after converting to µm and using an appropriate mesh resolution and report back if there are still some problems!&lt;/p&gt;&lt;p&gt;Best, Tobias&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1594/ventricular-propagation-activation-successful-simulations?show=1597#a1597</guid>
<pubDate>Fri, 27 Feb 2026 09:20:43 +0000</pubDate>
</item>
<item>
<title>Answered: How to add long list of ionic parameters in .par file</title>
<link>https://opencarp.org/q2a/1592/how-to-add-long-list-of-ionic-parameters-in-par-file?show=1593#a1593</link>
<description>&lt;p&gt;Hi Ovais,&lt;/p&gt;&lt;p&gt;It seems that there is a spelling mistake in the variable that you are modifying (tau_w_plus not&amp;nbsp;&lt;span style=&quot;color:#34495e; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;tau_w_pls)&lt;/span&gt;. The exact names can be obtained using the following command line in the terminal (see below).&amp;nbsp;&lt;/p&gt;&lt;p&gt;Let me know if this helps or if you are still getting an error.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Jorge&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;bench.opt --imp Bueno --imp-info&lt;/p&gt;&lt;p&gt;Ionic model:&lt;/p&gt;&lt;p&gt;------------&lt;/p&gt;&lt;p&gt;Metadata:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Authors: Alfonso Bueno-Orovio, Elizabeth M. Cherry, Flavio H. Fenton&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Year: 2008&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Title: Minimal model for human ventricular action potentials in tissue&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Journal: Journal of Theoretical Biology, 253.3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DOI: 10.1016/j.jtbi.2008.03.029&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Comment: Script includes the option to switch via flag between the original model (normalized Vm and Iion scale, 0-1) and a transformed version of the model with physiological Vm and Iion scales based on a resting membrane potential of V_0=-84mV. The transformed model is used by default.&lt;/p&gt;&lt;p&gt;Name: Bueno&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Parameters:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;V_0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -84&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; V_mu&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 85.7&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;k_s&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.0994&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; k_so&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;k_w_minus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 200&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; modelformulation&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_fi&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_o1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 470&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_o2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_s1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.7342&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_s2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_si&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.9013&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tau_so1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 40&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tau_so2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_v1_minus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 75&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_v2_minus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_v_plus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.4506&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_w1_minus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_w2_minus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 140&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tau_w_inf&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.0273&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tau_w_plus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 280&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;theta_o&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.006&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;theta_v&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;theta_v_minus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;theta_w&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.13&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u_o&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u_s&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.9087&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u_so&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.65&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u_u&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.56&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u_w_minus&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.016&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; w_inf_star&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.78&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;flags&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRANSFORM|ORIGINAL&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; State variables:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;w&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1592/how-to-add-long-list-of-ionic-parameters-in-par-file?show=1593#a1593</guid>
<pubDate>Fri, 27 Feb 2026 06:18:01 +0000</pubDate>
</item>
<item>
<title>Answered: re: problem running 1st tutorial after installation</title>
<link>https://opencarp.org/q2a/1589/re-problem-running-1st-tutorial-after-installation?show=1590#a1590</link>
<description>Hello, if your carputils repository is located at /home/pkuegler/carputils , I think the easiest way to go for installing carputils is to run &amp;quot;pip install /home/pkuegler/carputils&amp;quot;, then you should be able to run the tutorial.&lt;br /&gt;
&lt;br /&gt;
Probably it&amp;#039;s also better to run &amp;quot;python3 run.py&amp;quot;, to ensure that the right version of Python is used.</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1589/re-problem-running-1st-tutorial-after-installation?show=1590#a1590</guid>
<pubDate>Mon, 23 Feb 2026 15:58:17 +0000</pubDate>
</item>
<item>
<title>Answered: problem running 1st tutorial after installation</title>
<link>https://opencarp.org/q2a/1587/problem-running-1st-tutorial-after-installation?show=1588#a1588</link>
<description>&lt;p&gt;Hey Philipp,&lt;/p&gt;&lt;p&gt;which installation path for carputils did you choose? Via pip or the developer route?&lt;/p&gt;&lt;p&gt;If you chose the developer route, you have to add the following to your .bashrc:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color:#f8f8f8; color:#50596c; font-family:&amp;quot;SF Mono&amp;quot;,&amp;quot;Segoe UI Mono&amp;quot;,&amp;quot;Roboto Mono&amp;quot;,Menlo,Courier,monospace; font-size:13.6px&quot;&gt;export PATH=$PATH:$HOME/openCARP/external/carputils/bin export PYTHONPATH=$PYTHONPATH:$HOME/openCARP/external/carputils&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#50596c; font-family:&amp;quot;SF Mono&amp;quot;,&amp;quot;Segoe UI Mono&amp;quot;,&amp;quot;Roboto Mono&amp;quot;,Menlo,Courier,monospace; font-size:13.6px&quot;&gt;cusettings should than be found, since it is located in carputils/bin. That is mainly important to tell carputils scripts which openCARP executable to use and other useful things for the installation.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#50596c; font-family:SF Mono,Segoe UI Mono,Roboto Mono,Menlo,Courier,monospace; font-size:small&quot;&gt;The PYTHONPATH is what&#039;s needed for python to import carputils as a module.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#50596c; font-family:SF Mono,Segoe UI Mono,Roboto Mono,Menlo,Courier,monospace; font-size:small&quot;&gt;If your problem should persist, pleases give more information about which installation path you followed and your python version.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#50596c; font-family:SF Mono,Segoe UI Mono,Roboto Mono,Menlo,Courier,monospace; font-size:small&quot;&gt;Best,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#50596c; font-family:SF Mono,Segoe UI Mono,Roboto Mono,Menlo,Courier,monospace; font-size:small&quot;&gt;Tobias&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1587/problem-running-1st-tutorial-after-installation?show=1588#a1588</guid>
<pubDate>Wed, 18 Feb 2026 07:39:31 +0000</pubDate>
</item>
<item>
<title>Answered: Problem with using openMPI for tissue Simulation on HPC cluster</title>
<link>https://opencarp.org/q2a/1585/problem-with-using-openmpi-for-tissue-simulation-hpc-cluster?show=1586#a1586</link>
<description>&lt;p&gt;We could solve the problem by modifying the script as follows:&amp;nbsp;&lt;/p&gt;&lt;p&gt;Instead of&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style=&quot;font-size:11.0pt&quot;&gt;module load OpenMPI&lt;/span&gt;&lt;br&gt;mpirun /home/user/.local/easybuild/software/openCARP/17.0-foss-2023b/bin/openCARP +F MurineMouseCalibratedCV_BlockModel_v17.par&lt;/em&gt;&lt;/p&gt;&lt;p&gt;use&lt;/p&gt;&lt;p&gt;&lt;em&gt;module use /home/user/.local/easybuild/modules/all&lt;br&gt;module load openCARP/17.0-foss-2023b&lt;br&gt;mpirun /home/user/.local/easybuild/software/openCARP/17.0-foss-2023b/bin/openCARP +F MurineMouseCalibratedCV_BlockModel_v17.par&lt;/em&gt;&lt;/p&gt;&lt;p&gt;resulting in a final script:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;#!/usr/bin/bash&lt;br&gt;#SBATCH --ntasks=8&lt;br&gt;#SBATCH --account=[…]&lt;br&gt;#SBATCH --partition=[…]&lt;br&gt;#SBATCH --cpus-per-task 1&lt;br&gt;#SBATCH --time=0:30:00&lt;br&gt;export OMP_NUM_THREADS=1&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;module use /home/user/.local/easybuild/modules/all&lt;br&gt;module load openCARP/17.0-foss-2023b&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;mpirun /home/user/.local/easybuild/software/openCARP/17.0-foss-2023b/bin/openCARP +F MurineMouseCalibratedCV_BlockModel_v17.par&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;scontrol show job $SLURM_JOB_ID&lt;br&gt;scontrol write batch_script $SLURM_JOB_ID -&lt;/em&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1585/problem-with-using-openmpi-for-tissue-simulation-hpc-cluster?show=1586#a1586</guid>
<pubDate>Sat, 14 Feb 2026 22:18:06 +0000</pubDate>
</item>
<item>
<title>Answered: Installation of opencarp on HPC Cluster</title>
<link>https://opencarp.org/q2a/1583/installation-of-opencarp-on-hpc-cluster?show=1584#a1584</link>
<description>&lt;p&gt;&lt;span style=&quot;font-size:11.0pt&quot;&gt;We finally managed to install openCARP using easybuild running the following commands:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11.0pt&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;&lt;span style=&quot;font-size:11.0pt&quot;&gt;module load EasyBuild&lt;br&gt;eb --robot openCARP-17.0-foss-2023b.eb&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1583/installation-of-opencarp-on-hpc-cluster?show=1584#a1584</guid>
<pubDate>Sat, 14 Feb 2026 22:11:40 +0000</pubDate>
</item>
<item>
<title>Answered: meshalyzer installation error WSL Windows 11</title>
<link>https://opencarp.org/q2a/1579/meshalyzer-installation-error-wsl-windows-11?show=1580#a1580</link>
<description>&lt;div style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;It seems that some recent changes made to meshalyzer recently broke the compatibility with FLTK v1.3, and that version 1.4 is needed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size:14px&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;We will work on fixing this and updating the documentation, but in the meantime you can install FLTK v1.4 manually:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;&quot;&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;wget&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/fltk/fltk/releases/download/release-1.4.4/fltk-1.4.4-source.tar.gz&quot;&gt;https://github.com/fltk/fltk/releases/download/release-1.4.4/fltk-1.4.4-source.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;tar xvf fltk-1.4.4-source.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;cd fltk-1.4.4/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;cmake -S. -B_build&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;cmake --build _build --parallel 4&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;cd _build/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;sudo make install&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 16px; font-family: Calibri, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;Then you can try to recompile meshalyzer. I advise you to delete the _build folder before recompiling, so that the right version of FLTK is found.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1579/meshalyzer-installation-error-wsl-windows-11?show=1580#a1580</guid>
<pubDate>Fri, 13 Feb 2026 08:47:35 +0000</pubDate>
</item>
<item>
<title>Answered: Trying to install carputilsgui and it hangs on Sequoia 15.2</title>
<link>https://opencarp.org/q2a/1576/trying-to-install-carputilsgui-and-it-hangs-on-sequoia-15-2?show=1578#a1578</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I pushed some fixes to the git repository, you should now be able to install carputilsGUI using the &lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/documentation/carputilsgui#carputilsgui-developers&quot;&gt;&quot;developer installation&quot;&lt;/a&gt;&amp;nbsp;from the latest version of the &lt;a rel=&quot;nofollow&quot; href=&quot;https://git.opencarp.org/openCARP/carputilsgui&quot;&gt;master branch &lt;/a&gt;.&lt;br&gt;&lt;br&gt;I would advise to remove all existing Docker volumes/containers/images related to carputilsGUI before rerunning &quot;docker compose up&quot;.&lt;/p&gt;&lt;p&gt;Let me know if you have any further issue&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1576/trying-to-install-carputilsgui-and-it-hangs-on-sequoia-15-2?show=1578#a1578</guid>
<pubDate>Thu, 05 Feb 2026 11:12:43 +0000</pubDate>
</item>
<item>
<title>Answered: Recover ECG from electrodes. Monodomain simulation</title>
<link>https://opencarp.org/q2a/1567/recover-ecg-from-electrodes-monodomain-simulation?show=1568#a1568</link>
<description>&lt;p&gt;Hi Jimena,&lt;/p&gt;&lt;p&gt;Thanks for bringing this up! At the moment the &lt;strong&gt;phie_recovery&lt;/strong&gt; module does not implement the &lt;strong&gt;phie_rec_meth&lt;/strong&gt; and &lt;strong&gt;dump_ecg_leads&lt;/strong&gt; arguments. Although the parser accepts those parameters without raising an error, they are essentially placeholders and have no functionality.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can you share your &lt;strong&gt;phie_rec_ptf&lt;/strong&gt; (in your case &quot;elec_file_src&quot;) and the &lt;strong&gt;phie_recovery.igb&lt;/strong&gt;? Alternatively a reproducible experiment could also help me pin down the issue.&lt;/p&gt;&lt;p&gt;Cheers, Julian&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1567/recover-ecg-from-electrodes-monodomain-simulation?show=1568#a1568</guid>
<pubDate>Tue, 27 Jan 2026 15:05:08 +0000</pubDate>
</item>
<item>
<title>Answered: How to extract time-varying ion concentrations</title>
<link>https://opencarp.org/q2a/1565/how-to-extract-time-varying-ion-concentrations?show=1566#a1566</link>
<description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;the following&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/documentation/examples/02_ep_tissue/05d_region_reunification&quot;&gt;example&lt;/a&gt;&amp;nbsp;shows how to use the gvec[] interface to export any state variable in tissue simulations.&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you have any further questions, please let us know!&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1565/how-to-extract-time-varying-ion-concentrations?show=1566#a1566</guid>
<pubDate>Wed, 17 Dec 2025 09:14:24 +0000</pubDate>
</item>
<item>
<title>Answered: Stimulus not selecting any nodes despite correct parameters - Docker version 4f19932</title>
<link>https://opencarp.org/q2a/1563/stimulus-selecting-despite-correct-parameters-version-4f19932?show=1564#a1564</link>
<description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;without having all the details of what you tried, I can try to address some common pitfalls I&#039;ve came across myself with setting stimuli:&lt;/p&gt;&lt;p&gt;I&#039;ve noticed you use the old stimulus parameter. This is a legacy parameter and only supported for backward compatibility. Please use the up to date &lt;strong&gt;stim&lt;/strong&gt;&amp;nbsp;convention.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;caret-color:#34495e; color:#34495e; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;When I check the Stimulus_0.trc file, it shows 0.000 nodes selected every time.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The trace file Stimulus_0.trc does not show you the selected nodes. It contains the waveform function of the chosen stimulus, i.e. its combinations of time and normalized amplitude. This function is later multiplied by stim.strength at corresponding time-steps. If you want to see the selected nodes, use the parameter &lt;strong&gt;stim[0].elec.dump_vtx_file 1&lt;/strong&gt;, which will create a .vtx file containing the node IDs of the stimulus.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing:border-box; caret-color:#34495e; color:#34495e; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif; font-weight:bold&quot;&gt;First attempt&lt;/strong&gt;&lt;span style=&quot;caret-color:#34495e; color:#34495e; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;&amp;nbsp;- geometric stimulus using x0, xd, y0, yd parameters to define a box on the left side of my tissue. I made sure the coordinates overlap with actual nodes in my mesh, but still 0 nodes selected.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;For geometric definitions, it is important to get all the associated parameters correct for the shape you are using, e.g. for a block you need to make sure to have p0 defined as the lower left corner and p1 as the upper right corner. If you mix this up, you might end up with a block definition that doesn&#039;t catch the desired points.&lt;/p&gt;&lt;p&gt;Why your stimulus is not working:&lt;/p&gt;&lt;p&gt;You are defining an extracellular current stimulus (type = 1)&amp;nbsp;in a monodomain simulation. This is not possible, since there is no extracellular domain defined in monodomain setups. Use a transmembrane current (type = 0) instead.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1563/stimulus-selecting-despite-correct-parameters-version-4f19932?show=1564#a1564</guid>
<pubDate>Mon, 08 Dec 2025 09:21:52 +0000</pubDate>
</item>
<item>
<title>Answered: limpetGUI parameter units and use in tissue-level simulations</title>
<link>https://opencarp.org/q2a/1561/limpetgui-parameter-units-and-use-tissue-level-simulations?show=1562#a1562</link>
<description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;1) The units of the output generated by bench should follow the documentation in the openCARP manual, section 3.1.4. This should be the same in limpetGUI plots.&lt;/p&gt;&lt;p&gt;2) As far as I know, limpetGUI can only be used for trace output from bench. If you want to perform tissue simulations with openCARP, there are&amp;nbsp;multiple ways of visualizing the results.&lt;/p&gt;&lt;p&gt;There are some&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/documentation/examples&quot;&gt;examples&lt;/a&gt;&amp;nbsp;on the webpage in the section visualization. The most simple way would probably be to use meshalyzer. openCARP&#039;s output is in the igb format, which means you can also use&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/documentation/examples/05_pre_post_processing/05_igbutils&quot;&gt;IGB Utils&lt;/a&gt;&amp;nbsp;to process the simulation results further.&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1561/limpetgui-parameter-units-and-use-tissue-level-simulations?show=1562#a1562</guid>
<pubDate>Thu, 27 Nov 2025 10:44:25 +0000</pubDate>
</item>
<item>
<title>Answered: Installation Error</title>
<link>https://opencarp.org/q2a/1558/installation-error?show=1560#a1560</link>
<description>&lt;p&gt;In which directory are you running the build commands.&lt;/p&gt;&lt;p&gt;I have a feeling that you are mixing the CMake and make based workflows. It should be&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;either CMake:&amp;nbsp;&lt;a href=&quot;https://opencarp.org/download/installation#building-using-cmake&quot; rel=&quot;nofollow&quot;&gt;https://opencarp.org/download/installation#building-using-cmake&lt;/a&gt;&lt;/li&gt;&lt;li&gt;or make:&amp;nbsp;&lt;a href=&quot;https://opencarp.org/download/installation#building-using-the-makefi&quot; rel=&quot;nofollow&quot;&gt;https://opencarp.org/download/installation#building-using-the-makefi&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1558/installation-error?show=1560#a1560</guid>
<pubDate>Tue, 18 Nov 2025 07:09:48 +0000</pubDate>
</item>
<item>
<title>Answered: Prepace in PSD example</title>
<link>https://opencarp.org/q2a/1554/prepace-in-psd-example?show=1556#a1556</link>
<description>&lt;p&gt;Hey, you can find the documentation of these (and all other parameters) in the manual or on&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/documentation/opencarp-parameters#master&quot;&gt;openCARP parameters&lt;/a&gt;. If you have read these already, would you mind sharing what was unclear to you and leave some hints on how we can improve the documentation of these parameters to make it more clear? We would appreciate it!&lt;/p&gt;&lt;p&gt;Otherwise, its pretty much what the descriptions says:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;prepacing_lats&lt;/em&gt;&amp;nbsp;is the file that contains the activation times used to start the prepacing from on the tissue level.&lt;/p&gt;&lt;p&gt;&lt;em&gt;prepacing_beats&amp;nbsp;&lt;/em&gt;defines how many beats are used to prepace the ionic models for a single cell. This state is then saved and applied to the tissue.&lt;/p&gt;&lt;p&gt;&lt;em&gt;prepacing_bcl&amp;nbsp;&lt;/em&gt;sets the basic cycle length for the single cell prepacing.&lt;/p&gt;&lt;p&gt;So it&#039;s pretty much the same as running single cell experiments in bench using the same number of beats/bcl and then start openCARP tissue simulations using the saved state from bench to initialize the ionic models. Except, that we also use activation times to introduce the phase singularity.&lt;/p&gt;&lt;p&gt;Hope that helps!&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1554/prepace-in-psd-example?show=1556#a1556</guid>
<pubDate>Mon, 03 Nov 2025 08:51:13 +0000</pubDate>
</item>
<item>
<title>Answered: vm.igb file has fewer points than the pts file</title>
<link>https://opencarp.org/q2a/1546/vm-igb-file-has-fewer-points-than-the-pts-file?show=1550#a1550</link>
<description>Hey,&lt;br /&gt;
&lt;br /&gt;
vm is normally computed on all nodes belonging to the intracellular region of your mesh. It is difficult to help you without any information about your setup. Please share your parameter file from the simulation and maybe some info about the mesh you are using.</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1546/vm-igb-file-has-fewer-points-than-the-pts-file?show=1550#a1550</guid>
<pubDate>Wed, 29 Oct 2025 08:52:07 +0000</pubDate>
</item>
<item>
<title>Answered: The O&#039;Hara model provided in openCARP does not seem to correctly simulate epicardial action potential</title>
<link>https://opencarp.org/q2a/1542/provided-opencarp-correctly-simulate-epicardial-potential?show=1543#a1543</link>
<description>&lt;p&gt;Hey, I have checked the endo and epi&amp;nbsp;variants for 100 beats at 1000ms BCL and can&#039;t confirm your findings. I have a suspicion, but I need the commands you are using to simulate your results to confirm. Could you please paste the commands that you used here?&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://opencarp.org/q2a/?qa=blob&amp;amp;qa_blobid=1309247179706373222&quot; style=&quot;height:950px; width:2550px&quot;&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1542/provided-opencarp-correctly-simulate-epicardial-potential?show=1543#a1543</guid>
<pubDate>Mon, 27 Oct 2025 09:32:50 +0000</pubDate>
</item>
<item>
<title>Answered: how to perform an error exit from openCARP code</title>
<link>https://opencarp.org/q2a/1539/how-to-perform-an-error-exit-from-opencarp-code?show=1540#a1540</link>
<description>&lt;p&gt;Hey Mark,&lt;/p&gt;&lt;p&gt;I think the common approach in the code would be to use the combination of&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;log_msg(out, level, flag, fmt)&lt;/p&gt;&lt;p&gt;exit(EXIT_FAILURE)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;log_msg() safely prints an error/warning message either to a file or command line depending on the parameters used. Theoretically, the documentation states that using &lt;em&gt;level&lt;/em&gt;&amp;nbsp; as MAX_LOG_LEVEL (=5) means catastrophic failure. At the moment, the call to exit() is not included in the function. Maybe this could be done to simplify the process.&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1539/how-to-perform-an-error-exit-from-opencarp-code?show=1540#a1540</guid>
<pubDate>Tue, 21 Oct 2025 09:28:36 +0000</pubDate>
</item>
<item>
<title>Answered: Meshtool building error with addons</title>
<link>https://opencarp.org/q2a/1531/meshtool-building-error-with-addons?show=1532#a1532</link>
<description>Hi!&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;meshtool_addons&amp;quot; is an additional codebase that allows us to distinguish between code we want to share with the public, and code that we do not want to publish.&lt;br /&gt;
&lt;br /&gt;
As you dont have access to the meshtool_addons, you cannot build meshtool with this flag turned on.&lt;br /&gt;
&lt;br /&gt;
Best wishes, Aurel</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1531/meshtool-building-error-with-addons?show=1532#a1532</guid>
<pubDate>Tue, 14 Oct 2025 13:46:30 +0000</pubDate>
</item>
<item>
<title>Answered: Stimulus not propagating</title>
<link>https://opencarp.org/q2a/1526/stimulus-not-propagating?show=1529#a1529</link>
<description>&lt;p&gt;Your mesh is very coarse. Average edge length: 1.1mm. (&lt;span style=&quot;background-color:#d7d3b7; color:#3b2322; font-family:Courier; font-size:12px&quot;&gt;meshtool query edges -msh ellipsoid&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;You should aim for at max 400µm (see this openCARP &lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/documentation/examples/02_ep_tissue/03e_study_resolution&quot;&gt;example&lt;/a&gt; for background).&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1526/stimulus-not-propagating?show=1529#a1529</guid>
<pubDate>Tue, 30 Sep 2025 07:17:09 +0000</pubDate>
</item>
<item>
<title>Answered: Problem with installation during building using CMake</title>
<link>https://opencarp.org/q2a/1523/problem-with-installation-during-building-using-cmake?show=1524#a1524</link>
<description>&lt;p&gt;Hey,&amp;nbsp;&lt;/p&gt;&lt;p&gt;it seems like your cmake tries to access clang with an old (non-existing) path. To my understanding, (on newer Macs at least)&amp;nbsp;homebrew does not install packages in&amp;nbsp;&lt;span style=&quot;caret-color:#34495e; color:#34495e; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;caret-color:#34495e; color:#34495e; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;/usr/local/Cellar/ anymore but rather in /opt/homebrew/Cellar.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;caret-color:#34495e; color:#34495e; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;Try the following to let cmake make use of the llvm installed by homebrew:&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;# Set standard C compilers&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;export CC=clang&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;export CXX=clang++&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;# Set LLVM ENVs&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;export LDFLAGS=&quot;-L/opt/homebrew/opt/llvm/lib&quot;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;export CPPFLAGS=&quot;-I/opt/homebrew/opt/llvm/include&quot;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;# Update PATH env&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;PATH=/opt/homebrew/bin:$PATH&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;PATH=/opt/homebrew/opt/llvm/bin:$PATH&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 18px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;&lt;span style=&quot;font-variant-ligatures:no-common-ligatures&quot;&gt;export PATH&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;Hope this helps!&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1523/problem-with-installation-during-building-using-cmake?show=1524#a1524</guid>
<pubDate>Fri, 26 Sep 2025 08:19:05 +0000</pubDate>
</item>
<item>
<title>Answered: Unable to pick vertex on meshalyzer</title>
<link>https://opencarp.org/q2a/1519/unable-to-pick-vertex-on-meshalyzer?show=1520#a1520</link>
<description>Hey,&lt;br /&gt;
&lt;br /&gt;
normally it is sufficient to load the mesh, click on the &amp;quot;Pick Vertex&amp;quot; button once (or simply &amp;quot;P&amp;quot; on the keyboard) and then select the desired vertex on the mesh. Clicking the &amp;quot;?&amp;quot; button will open a window with the coordinates of that point and all sorts of other information.&lt;br /&gt;
&lt;br /&gt;
If you already know the ID of the vertex, you can also type the ID in the data field next to &amp;quot;Vertex&amp;quot; and click the &amp;quot;?&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
Sometimes I end up with a similar situation as in your pictures, where the background gets black and all nodes are shown if I try to pick a point. However, I am not sure how that happens exactly and I can&amp;#039;t reproduce that consistently. I am not aware of a windows specific bug in that case and I can&amp;#039;t test it on windows either right now. But if the above instructions don&amp;#039;t help, let me know and I will try to reproduce it on a windows machine.&lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
&lt;br /&gt;
Tobias</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1519/unable-to-pick-vertex-on-meshalyzer?show=1520#a1520</guid>
<pubDate>Tue, 09 Sep 2025 08:19:26 +0000</pubDate>
</item>
<item>
<title>Answered: How to reliably auto-generate ION_IF_datatypes.h before compiling limpet?</title>
<link>https://opencarp.org/q2a/1517/reliably-generate-ion_if_datatypes-before-compiling-limpet?show=1518#a1518</link>
<description>&lt;p&gt;We fixed this in MR&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://git.opencarp.org/opencarp/opencarp/-/merge_requests/330&quot;&gt;!330&lt;/a&gt;&amp;nbsp;by:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p&gt;Creating a dedicated &lt;span style=&quot;color:#4e5f70&quot;&gt;generate_ION_IF_datatypes&amp;nbsp;target&lt;/span&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Explicitly declaring its dependency in the&amp;nbsp;limpet&amp;nbsp;build target&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Adding&amp;nbsp;&lt;span style=&quot;color:#2c3e50&quot;&gt;${CMAKE_CURRENT_BINARY_DIR}&lt;/span&gt;&amp;nbsp;to the include paths&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Here’s the working implementation:&lt;/p&gt;&lt;pre&gt;# Path to Perl scripts
set(LIMPET_PERL &quot;${CMAKE_CURRENT_SOURCE_DIR}/src/perl&quot;)
set(GENERATED_ION_IF_H &quot;${CMAKE_CURRENT_BINARY_DIR}/ION_IF_datatypes.h&quot;)

# Header generation from imp_list.txt
add_custom_command(
  OUTPUT &quot;${GENERATED_ION_IF_H}&quot;
  COMMAND perl -w -I${LIMPET_PERL} ${LIMPET_PERL}/ION_IF.h.pl
  DEPENDS
    ${CMAKE_CURRENT_SOURCE_DIR}/models/imp_list.txt
    ${LIMPET_PERL}/ION_IF.h.pl
    ${LIMPET_PERL}/common.pl
  COMMENT &quot;Generating ION_IF_datatypes.h from imp_list.txt&quot;
  VERBATIM
)

# Always run this target
add_custom_target(generate_ION_IF_datatypes ALL
  DEPENDS &quot;${GENERATED_ION_IF_H}&quot;
)

# Add dependency and include path to limpet
if (TARGET limpet)
  add_dependencies(limpet generate_ION_IF_datatypes)
  target_include_directories(limpet PRIVATE &quot;${CMAKE_CURRENT_BINARY_DIR}&quot;)
endif()
&lt;/pre&gt;&lt;hr&gt;&lt;h3&gt;&amp;nbsp;that:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Ensures the header is&amp;nbsp;always&amp;nbsp;generated before&amp;nbsp;limpet&amp;nbsp;builds&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Prevents parallel build issues or missing include errors&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Clean separation of logic; easy to update if the generator script changes in the future&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;hr&gt;&lt;h3&gt;Reference&lt;br&gt;Implemented and validated in MR&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://git.opencarp.org/opencarp/opencarp/-/merge_requests/330&quot;&gt;!330&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1517/reliably-generate-ion_if_datatypes-before-compiling-limpet?show=1518#a1518</guid>
<pubDate>Thu, 24 Jul 2025 12:46:07 +0000</pubDate>
</item>
<item>
<title>Answered: CMake could not find OpenMP on macOS</title>
<link>https://opencarp.org/q2a/1515/cmake-could-not-find-openmp-on-macos?show=1516#a1516</link>
<description>&lt;p&gt;If libomp has been installed via homebrew, this can be solved by exporting the following environment variable:&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;color:#cf222e&quot;&gt;export&lt;/span&gt; OpenMP_ROOT=&lt;span style=&quot;color:#0a3069&quot;&gt;$(brew --prefix)&lt;/span&gt;/opt/libomp&lt;/pre&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1515/cmake-could-not-find-openmp-on-macos?show=1516#a1516</guid>
<pubDate>Wed, 23 Jul 2025 08:05:23 +0000</pubDate>
</item>
<item>
<title>Answered: I customized a fibroblast model to use as a plugin, but an error occurred after I compiled it.</title>
<link>https://opencarp.org/q2a/1511/customized-fibroblast-model-plugin-error-occurred-compiled?show=1514#a1514</link>
<description>It&amp;#039;s hard to provide guidance when the .cc/.h/.model files are not attached.</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1511/customized-fibroblast-model-plugin-error-occurred-compiled?show=1514#a1514</guid>
<pubDate>Mon, 07 Jul 2025 19:25:44 +0000</pubDate>
</item>
<item>
<title>Answered: How to use f3d files</title>
<link>https://opencarp.org/q2a/1512/how-to-use-f3d-files?show=1513#a1513</link>
<description>&lt;p&gt;Hey,&amp;nbsp;&lt;/p&gt;&lt;p&gt;f3d files are not supported in openCARP. The required format for mesh files is specified in the User Manual (&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/documentation/user-manual&quot;&gt;https://opencarp.org/documentation/user-manual&lt;/a&gt;) in sections 4.1.2 to 4.1.4.&lt;/p&gt;&lt;p&gt;If your current mesh already contains the surfaces and you want to create a volumetric mesh, you first have to find a suitable tool to generate a volume mesh from the surface mesh and then convert it to the openCARP format. meshtool is capable of this for common file types. Gmsh is another alternative (but requires conversion to openCARP format after meshing).&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1512/how-to-use-f3d-files?show=1513#a1513</guid>
<pubDate>Mon, 07 Jul 2025 12:33:38 +0000</pubDate>
</item>
<item>
<title>Answered: Forcepss Stimulus Confusion</title>
<link>https://opencarp.org/q2a/1508/forcepss-stimulus-confusion?show=1510#a1510</link>
<description>Hi Jake, &lt;br /&gt;
yes, you&amp;#039;re right, the stimulus strength &amp;#039;--stimS&amp;#039; is ignored if the voltage-clamp flag &lt;br /&gt;
‘--stimV’ is set in tuneCV. As you commented, a voltage clamp at 0mV is sufficient &lt;br /&gt;
to trigger stimulation for most of the ionic models. But there are models, as I &lt;br /&gt;
learned the hard way, where 0mV is not a good choice because somewhere in &lt;br /&gt;
the code of the ionic model a scaling operation is performed with the inverse &lt;br /&gt;
strength and you end up with a division by zero and NaNs in the output. I &lt;br /&gt;
temporarily fixed the issue by changing the strength in the tuneCV code to &lt;br /&gt;
0.1mV (or -0.1mV).&lt;br /&gt;
&lt;br /&gt;
To make a long story short: Yes, the value of the “--stimS” argument should also &lt;br /&gt;
be used for voltage clamps in tuneCV and the stimulus strength should also be &lt;br /&gt;
provided to the user in the ForCEPSSs framework.&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s on my TODO list, but not at the top.&lt;br /&gt;
&lt;br /&gt;
BW - Matthias.</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1508/forcepss-stimulus-confusion?show=1510#a1510</guid>
<pubDate>Fri, 13 Jun 2025 09:13:41 +0000</pubDate>
</item>
<item>
<title>Answered: Build on HPC system running very slow.</title>
<link>https://opencarp.org/q2a/1496/build-on-hpc-system-running-very-slow?show=1504#a1504</link>
<description>I finally got it working as expected. The key was some combination of petsc mpi blas lapack.&lt;br /&gt;
I built all of these from source to get the newest versions. With the following, I was able to get it running fast again:&lt;br /&gt;
gcc 14&lt;br /&gt;
petsc 3.23.2 (compiled against blas 3.10 lapack 3.12)&lt;br /&gt;
using the mpich that comes with petsc</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1496/build-on-hpc-system-running-very-slow?show=1504#a1504</guid>
<pubDate>Tue, 20 May 2025 02:06:23 +0000</pubDate>
</item>
<item>
<title>Answered: Is it possible to change the stimulus strength and duration in the PSD example?</title>
<link>https://opencarp.org/q2a/1494/possible-change-the-stimulus-strength-and-duration-example?show=1495#a1495</link>
<description>&lt;p&gt;Hey,&amp;nbsp;&lt;/p&gt;&lt;p&gt;currently this is not possible. But I opened an &lt;a rel=&quot;nofollow&quot; href=&quot;https://git.opencarp.org/openCARP/openCARP/-/issues/383&quot;&gt;issue&lt;/a&gt; and a &lt;a rel=&quot;nofollow&quot; href=&quot;https://git.opencarp.org/openCARP/openCARP/-/merge_requests/313&quot;&gt;merge request&lt;/a&gt; which exposes these parameters to be changed at runtime. If you want to use this feature before the MR is reviewed and accepted, you have to checkout the branch prepacing_stimulus and build openCARP from source.&lt;/p&gt;&lt;p&gt;Then you can set the options&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;-prepacing_stimdur (in ms)&lt;/p&gt;&lt;p&gt;-prepacing_stimstr (in uA/uF)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;to change the values to your desire.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Best, Tobias&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1494/possible-change-the-stimulus-strength-and-duration-example?show=1495#a1495</guid>
<pubDate>Mon, 21 Apr 2025 11:23:16 +0000</pubDate>
</item>
<item>
<title>Answered: Is it possible to run simulations on a hollow spherical mesh (no volume)?</title>
<link>https://opencarp.org/q2a/1490/is-it-possible-run-simulations-hollow-spherical-mesh-volume?show=1493#a1493</link>
<description>&lt;p&gt;Yes, openCARP monodomain and bidomain simulations are compatible with surface meshes.&amp;nbsp;&lt;/p&gt;&lt;p&gt;The mesh should be in micrometers and the mesh resolution should be no larger than 500 micrometers to obtain good solutions (ideally 100-200 micrometers if possible). It should be available in the openCARP format (please refer to the manual for details) and it should contain element tags to assign properties such as conductivity and a fiber direction. If your mesh is in a format like &lt;em&gt;vtk&lt;/em&gt;, you can use &lt;em&gt;meshtool convert&amp;nbsp;&lt;/em&gt;to convert it to openCARP format.&lt;/p&gt;&lt;p&gt;For the setup of the simulation you can follow the examples provided on the website.&lt;/p&gt;&lt;p&gt;Best, Tobias&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1490/is-it-possible-run-simulations-hollow-spherical-mesh-volume?show=1493#a1493</guid>
<pubDate>Fri, 04 Apr 2025 16:21:54 +0000</pubDate>
</item>
<item>
<title>Answered: Are there predefined cardiac meshes available in OpenCARP for realistic heart geometry simulations?</title>
<link>https://opencarp.org/q2a/1491/predefined-available-opencarp-realistic-geometry-simulations?show=1492#a1492</link>
<description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;There are currently no realistic heart geometries delivered with openCARP. If you are interested, there are some realistic heart geometries available from publications&amp;nbsp;that should be compatible with openCARP monodomain/bidomain simulations. However, there might be some preprocessing necessary.&lt;/p&gt;&lt;p&gt;e.g.&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://zenodo.org/records/3890034&quot;&gt;https://zenodo.org/records/3890034&lt;/a&gt;&amp;nbsp;for whole heart meshes or&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://zenodo.org/records/5571925&quot;&gt;https://zenodo.org/records/5571925&lt;/a&gt;&amp;nbsp;for atrial meshes based on a statistical shape model.&lt;/p&gt;&lt;p&gt;Alternatively, you can check out the community experiments on the openCARP website&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencarp.org/community/community-experiments&quot;&gt;https://opencarp.org/community/community-experiments&lt;/a&gt;. These should be ready to use in openCARP!&lt;/p&gt;&lt;p&gt;Best, Tobias&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1491/predefined-available-opencarp-realistic-geometry-simulations?show=1492#a1492</guid>
<pubDate>Fri, 04 Apr 2025 16:09:10 +0000</pubDate>
</item>
<item>
<title>Answered: Order of elements for monolayer triangular meshes</title>
<link>https://opencarp.org/q2a/1486/order-of-elements-for-monolayer-triangular-meshes?show=1489#a1489</link>
<description>Hi!&lt;br /&gt;
&lt;br /&gt;
I had a further look at this. I can confirm your observations on the meshes you provided. There is a certain spatial coherrence to the numerical error (even on regular refinements of your mesh), that I have not seen before. Really weird. The funny thing is that any regular &amp;amp; irregular triangulations of the same domain that I produced do not have the same kind of problems (keeping everything else the same).&lt;br /&gt;
&lt;br /&gt;
It is not clear to me if there is an issue to fix or we are just observing a special property of the specific triangulation you produced. The solutions of uniform refinements of this mesh still converge towards the real solution, and it is clear that solutions of unconverged discretizations have numerical errors, but the spatial error patterns that manifest along the way are definitiely unexpected.&lt;br /&gt;
&lt;br /&gt;
I will discuss this at times with collegues, but I dont see a direct way forward at this point.&lt;br /&gt;
&lt;br /&gt;
Best, Aurel</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1486/order-of-elements-for-monolayer-triangular-meshes?show=1489#a1489</guid>
<pubDate>Thu, 20 Mar 2025 14:36:20 +0000</pubDate>
</item>
<item>
<title>How to use .vtx files with meshalyzer?</title>
<link>https://opencarp.org/q2a/1480/how-to-use-vtx-files-with-meshalyzer</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have created many intermediate .vtx files as part of my workflow. These are different &amp;quot;patches&amp;quot; of the original mesh. Just wanted to check if the extraction was correct and hence wanted to use meshalyzer and superimpose these individual .vtx files onto the original mesh.&lt;br /&gt;
&lt;br /&gt;
Is there a readymade way or I have to use first principles to convert .vtx to .pts and then only use with meshalyzer?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;br /&gt;
~anoop</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1480/how-to-use-vtx-files-with-meshalyzer</guid>
<pubDate>Sat, 08 Mar 2025 16:06:31 +0000</pubDate>
</item>
<item>
<title>Remnants of Mac Ports path dependencies?</title>
<link>https://opencarp.org/q2a/1475/remnants-of-mac-ports-path-dependencies</link>
<description>When playing around with the tutorials (specifically the ECG one) after having installed all dependencies using Homebrew (in opt/homebrew), I noticed that simply copying the commands as per the tutorial into my terminal returned errors saying that the dependencies were not found in the expected directory (opt/local). I think I got the simulation to work after modifying some paths manually. But it didn&amp;#039;t work for Meshalyzer. I also noticed that the directories /opt/local appear explicitly in run.py in tutorials/02_EP_tissue/07_extracellular. &lt;br /&gt;
&lt;br /&gt;
Will there be a problem when running my own simulations instead of the tutorials? At some point I want to work with a custom EP model.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance!</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1475/remnants-of-mac-ports-path-dependencies</guid>
<pubDate>Mon, 03 Mar 2025 10:36:31 +0000</pubDate>
</item>
<item>
<title>units in carputilsGUI</title>
<link>https://opencarp.org/q2a/1474/units-in-carputilsgui</link>
<description>&lt;p&gt;&lt;span&gt;Dear devs,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Using “carputilsGUI”，where can I find the units of the parameters shown in the generated chart?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Any help or ideas would be appreciated, thank you!&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1474/units-in-carputilsgui</guid>
<pubDate>Mon, 03 Mar 2025 06:30:12 +0000</pubDate>
</item>
<item>
<title>Extracting data from bench output bin files</title>
<link>https://opencarp.org/q2a/1471/extracting-data-from-bench-output-bin-files</link>
<description>This is probably a naive question. &amp;nbsp;I would like to extract the data for Ca_i from the bin file produced when I use --validate option with bench. &amp;nbsp;But, I can&amp;#039;t find any information about the file format and I am not currently using carputils or any of the visualization tools provided with open carp. &amp;nbsp;Is there a straightforward way to translate or extract data from the &amp;lt;problem_name&amp;gt;.Cai.bin file?&lt;br /&gt;
&lt;br /&gt;
If it makes a difference, I am using both the Gaur and OHara models in this study. &amp;nbsp;Gaur includes Cai in the trace file output, OHara does not.</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1471/extracting-data-from-bench-output-bin-files</guid>
<pubDate>Wed, 26 Feb 2025 14:07:17 +0000</pubDate>
</item>
<item>
<title>What are the default conductivity values used by openCARP in a monodomain simulation, and how can I modify them?</title>
<link>https://opencarp.org/q2a/1469/default-conductivity-values-opencarp-monodomain-simulation</link>
<description>&lt;p data-start=&quot;270&quot; data-end=&quot;516&quot;&gt;&lt;span style=&quot;font-size:11px&quot;&gt;I am running monodomain simulations in openCARP using the Luo-Rudy 1991&amp;nbsp;model, but I cannot find clear documentation on the default conductivity values&amp;nbsp;when they are not explicitly defined in the &lt;code data-start=&quot;502&quot; data-end=&quot;508&quot;&gt;.par&lt;/code&gt; file.&lt;/span&gt;&lt;/p&gt;&lt;p data-start=&quot;518&quot; data-end=&quot;722&quot;&gt;&lt;span style=&quot;font-size:11px&quot;&gt;I have checked the parameter list in the documentation,&amp;nbsp;&amp;nbsp;but I cannot find references to &lt;code data-start=&quot;671&quot; data-end=&quot;680&quot;&gt;sigma_i&lt;/code&gt; or &lt;code data-start=&quot;684&quot; data-end=&quot;693&quot;&gt;sigma_e&lt;/code&gt; in the monodomain context.&lt;/span&gt;&lt;/p&gt;&lt;p data-start=&quot;724&quot; data-end=&quot;743&quot;&gt;&lt;span style=&quot;font-size:11px&quot;&gt;My questions are:&lt;/span&gt;&lt;/p&gt;&lt;ol data-start=&quot;744&quot; data-end=&quot;931&quot;&gt;&lt;li data-start=&quot;744&quot; data-end=&quot;869&quot;&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;strong data-start=&quot;747&quot; data-end=&quot;867&quot;&gt;What are the default intracellular and extracellular conductivity values used by openCARP in monodomain simulations?&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li data-start=&quot;870&quot; data-end=&quot;931&quot;&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;strong data-start=&quot;873&quot; data-end=&quot;929&quot;&gt;How can I correctly modify these values in my setup?&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p data-start=&quot;1096&quot; data-end=&quot;1163&quot;&gt;&lt;span style=&quot;font-size:11px&quot;&gt;Any help or documentation reference would be greatly appreciated.&lt;/span&gt;&lt;/p&gt;&lt;p data-start=&quot;270&quot; data-end=&quot;516&quot;&gt;&lt;/p&gt;&lt;p data-start=&quot;1165&quot; data-end=&quot;1185&quot;&gt;&lt;span style=&quot;font-size:11px&quot;&gt;Thanks in advance!&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1469/default-conductivity-values-opencarp-monodomain-simulation</guid>
<pubDate>Wed, 26 Feb 2025 13:37:52 +0000</pubDate>
</item>
<item>
<title>GRegion axes definition</title>
<link>https://opencarp.org/q2a/1467/gregion-axes-definition</link>
<description>&lt;p&gt;Hi, I have some questions regarding the parameter description of the different axes (l/n/t) for the extra-/intracellular conductivities.&lt;/p&gt;&lt;p&gt;As far as I understand, the local coordinate system is defined by a fiber direction, sheet direction, and the cross product between these two (sheet normal).&lt;/p&gt;&lt;p&gt;Why is the definition according to the parameter documentation for g_in: &quot;Defines the intracellular conductivity in the local sheet direction&quot; should this be the local sheet &lt;strong&gt;normal&lt;/strong&gt; direction?&lt;/p&gt;&lt;p&gt;Also for the g_it parameter which should be &quot;i.e. perpendicular to the longitudinal fiber &#039;g_il&#039; and local sheet &#039;g_it&#039; direction.&quot; it looks like a copy-paste error because g_it can&#039;t be perpendicular to itself.&lt;/p&gt;&lt;p&gt;As far as I understand it it should be:&lt;/p&gt;&lt;p&gt;fiber direction = g_il&lt;/p&gt;&lt;p&gt;sheet direction = g_it&lt;/p&gt;&lt;p&gt;(sheet) normal = g_in&lt;/p&gt;&lt;p&gt;Or am I missing something?&lt;/p&gt;&lt;p&gt;As a general question: Should the sheet vector in the .lon file point parallel to/along the tissue surface or perpendicular to it?&lt;/p&gt;&lt;p&gt;Best,&lt;/p&gt;&lt;p&gt;Pascal&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1467/gregion-axes-definition</guid>
<pubDate>Thu, 13 Feb 2025 13:13:22 +0000</pubDate>
</item>
<item>
<title>Example of a simulation on a spherical mesh?</title>
<link>https://opencarp.org/q2a/1464/example-of-a-simulation-on-a-spherical-mesh</link>
<description>&lt;p&gt;Hi everyone,&lt;/p&gt;&lt;p&gt;I am trying to run a simulation in OpenCARP using a spherical mesh with volume instead of the typical block. So far, I have followed these steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;I generated a spherical mesh with volume using MATLAB and exported the .elem, .pts, and .lon files.&lt;/li&gt;&lt;li&gt;I loaded the mesh into OpenCARP and attempted to run the simulation.&lt;/li&gt;&lt;li&gt;However, I encountered an error, and the simulation does not run correctly.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;Here is the error message from the output:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;NaN detected: gregion[0], element 330: 587 572 585 564&amp;nbsp;&lt;/p&gt;&lt;p&gt;Volume: -nan, fib: (1, 0, 0), she: (0, 0, 0), G: (0.136108, 0.0175843, 0.0175843)&lt;br&gt;&lt;br&gt;Below are the configuration files I am using:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;- monodomain.par:&lt;/strong&gt;&lt;br&gt;# ionic setup&lt;/p&gt;&lt;p&gt;num_imp_regions = 1&lt;/p&gt;&lt;p&gt;imp_region[0].im = LuoRudy91&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;# electrical setup&lt;/p&gt;&lt;p&gt;num_stim = 1&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;stimulus[0].name = &quot;S1&quot;&lt;/p&gt;&lt;p&gt;stimulus[0].stimtype = 0&lt;/p&gt;&lt;p&gt;stimulus[0].strength = 400.0&amp;nbsp; # Stimulus strength in microamperes&lt;/p&gt;&lt;p&gt;stimulus[0].duration = 2.0&lt;/p&gt;&lt;p&gt;stimulus[0].start = 20.0&amp;nbsp; # First stimulus starts at 20 ms&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;bidomain = 0&lt;/p&gt;&lt;p&gt;parab_solve = 1&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;- run.py:&lt;/strong&gt;&lt;br&gt;#!/usr/bin/env python&lt;/p&gt;&lt;p&gt;import os&lt;/p&gt;&lt;p&gt;from datetime import date&lt;/p&gt;&lt;p&gt;from carputils import settings&lt;/p&gt;&lt;p&gt;from carputils import tools&lt;/p&gt;&lt;p&gt;from carputils import mesh&lt;/p&gt;&lt;p&gt;from carputils.carpio import txt&lt;/p&gt;&lt;p&gt;import numpy as np&lt;/p&gt;&lt;p&gt;def parser():&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; parser = tools.standard_parser()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; group = parser.add_argument_group(&#039;experiment specific options&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; group.add_argument(&#039;--duration&#039;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type=float,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default=1000.,&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;help=&#039;Duration of simulation in [ms] (default: 1000.)&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; group.add_argument(&#039;--S1-strength&#039;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type=float,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default=400.,&amp;nbsp; # Stimulus strength in microamperes&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;help=&#039;Stimulus strength in [uA/cm^2] (default: 400.)&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; group.add_argument(&#039;--S1-dur&#039;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type=float,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default=2.,&amp;nbsp; # Stimulus duration in ms&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;help=&#039;Stimulus duration in [ms] (default: 2.)&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; return parser&lt;/p&gt;&lt;p&gt;def jobID(args):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;&quot;&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Generate name of top-level output directory.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;&quot;&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; today = date.today()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; return &#039;{}_monodomain_{}&#039;.format(today.isoformat(), args.duration)&lt;/p&gt;&lt;p&gt;@tools.carpexample(parser, jobID)&lt;/p&gt;&lt;p&gt;def run(args, job):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Generate mesh&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; meshname = &#039;sphere&#039;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Query for element labels&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; _, etags, _ = txt.read(meshname + &#039;.elem&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; etags = np.unique(etags)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; IntraTags = etags[etags != 0].tolist()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ExtraTags = etags.tolist().copy()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Calculate number of stimuli&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; num_stim = int((args.duration - 20) / 500) + 1&amp;nbsp; # Includes initial stimulus at 20 ms&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Create stimulus settings&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; stim = [&#039;-num_stim&#039;, num_stim]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; for i in range(num_stim):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stim += [&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&#039;-stimulus[{i}].name&#039;, &#039;S1&#039;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&#039;-stimulus[{i}].stimtype&#039;, 0,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&#039;-stimulus[{i}].strength&#039;, args.S1_strength,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&#039;-stimulus[{i}].duration&#039;, args.S1_dur,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&#039;-stimulus[{i}].start&#039;, 20 + i * 500&amp;nbsp; # Stimulus every 500 ms starting at 20 ms&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Generate CARP command&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; cmd = tools.carp_cmd(os.path.join(os.path.dirname(__file__), &#039;monodomain.par&#039;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; cmd += [&#039;-simID&#039;, job.ID,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#039;-meshname&#039;, meshname,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#039;-dt&#039;, 5,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#039;-tend&#039;, args.duration]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; cmd += tools.gen_physics_opts(ExtraTags=ExtraTags, IntraTags=IntraTags)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; cmd += stim&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if args.visualize:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cmd += [&#039;-gridout_i&#039;, 3, &#039;-gridout_e&#039;, 3, &#039;-spacedt&#039;, 0.1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Run simulation&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; job.carp(cmd)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Visualization (optional)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if args.visualize and not settings.platform.BATCH:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; geom = os.path.join(job.ID, os.path.basename(meshname) + &#039;_i&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data = os.path.join(job.ID, &#039;vm.igb.gz&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; view = os.path.join(os.path.dirname(__file__), &#039;view_vm.mshz&#039;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; job.meshalyzer(geom, data, view)&lt;/p&gt;&lt;p&gt;if __name__ == &#039;__main__&#039;:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; run()&lt;/p&gt;&lt;p&gt;I have checked the OpenCARP documentation and examples, but I haven&#039;t found any that use a spherical mesh instead of a block.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Questions:&lt;/strong&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Has anyone successfully run a simulation on a volumetric spherical mesh?&lt;/li&gt;&lt;li&gt;Is there an example in OpenCARP that uses a sphere instead of a block?&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Any advice or references would be greatly appreciated.&lt;/p&gt;&lt;p&gt;Thanks in advance!&lt;/p&gt;</description>
<guid isPermaLink="true">https://opencarp.org/q2a/1464/example-of-a-simulation-on-a-spherical-mesh</guid>
<pubDate>Thu, 06 Feb 2025 18:30:20 +0000</pubDate>
</item>
</channel>
</rss>