Skip to content

Instantly share code, notes, and snippets.

View jginternational's full-sized avatar
🐿️
Squirreling

Javi Gárate jginternational

🐿️
Squirreling
View GitHub Profile
@jginternational
jginternational / create_volume_arteria.tcl
Last active August 29, 2025 12:52
Create volume in STL - Artheria with 1 inlet and 2 outlets
proc CreateCovers { } {
# Get all the layer lines based on the higher entity
set all_lines [GiD_Geometry list -layer Fluid -higherentity 1 line]
# Group by Z coordinate
array set groups {}
foreach l $all_lines {
lassign [GiD_Geometry get line $l] types layer n1 n2
set zlist {}
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: current file",
"type": "python",
"request": "launch",
@jginternational
jginternational / configure.bat
Last active June 22, 2021 16:33
Kratos Windows compilation sctipt
rem Set compiler
@echo off
set CC=cl.exe
set CXX=cl.exe
rem Set variables
set KRATOS_SOURCE=~0,-1%/..
set KRATOS_BUILD=%KRATOS_SOURCE%/build
set KRATOS_APP_DIR=applications