code_saturne tutorials
A growing collection of step-by-step CFD tutorials for
code_saturne. This site is still under
construction: the aim is for each tutorial to showcase a specific code_saturne
capability, as a small reproducible case with a physics write-up. Some are
validated against reference data, others are demonstrations. Search and filter
below, or browse by section on the left.
Get the collection:
git clone https://github.com/simvia-tech/tutorials-code_saturne.git
Maintained by
`;
const g=box.querySelector(".cs-grid");
if(!list.length){g.innerHTML='
No tutorial matches. Remove a filter or clear the search.
';return;}
for(const t of list){const a=document.createElement("a");a.className="cs-card";a.href=t.path+"/";
const ph=t.physics.map(p=>`
${p}`).join("");
a.innerHTML=`
${t.topic}${t.difficulty}
${t.title}
${t.module}${t.regime}
${ph?`
${ph}
`:""}`;
g.appendChild(a);}
}
document.getElementById("cs-q").addEventListener("input",e=>{Q=e.target.value.trim();draw();});
const P=document.getElementById("cs-pop"),AB=document.getElementById("cs-addbtn");
AB.onclick=e=>{e.stopPropagation();P.hidden=!P.hidden;};
document.addEventListener("click",e=>{if(!P.hidden&&!P.contains(e.target)&&e.target!==AB)P.hidden=true;});
draw();