Skip to content

Instantly share code, notes, and snippets.

@nicoguaro
nicoguaro / Abaqus-Default.xml
Last active June 28, 2022 14:49
Zenburn color theme for Abaqus input files in Notepad++
<!--
File name: Abaqus-Default.xml
Style Name: Abaqus-Default
Description: Syntax highlighting for Abaqus in Notepad++. Derived
from the Abaqus template
present in:
http://docs.notepad-plus-plus.org/index.php?title=User_Defined_Language_Files
Supported languages: All the languages supported by release 6.2.3
Created by: Nicolas Guarin-Zapata (nicoguarin dot gmail dot com)
@nicoguaro
nicoguaro / nonstandard_fd.png
Last active May 31, 2022 21:01
Toy examples for Nonstandard Finite Differences.
nonstandard_fd.png
@nicoguaro
nicoguaro / block_uniform load.py
Last active March 31, 2022 17:39
SolidsPy scripts
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Block with different loading and constraint conditions.
This examples runs with the developing version of SolidsPy (2.0).
@author: Nicolás Guarín-Zapata
@date: July 2020
"""
@nicoguaro
nicoguaro / phase_portrait.png
Last active March 10, 2022 12:06
Phase portrait for a system with a strange critical point.
phase_portrait.png
@nicoguaro
nicoguaro / pumpkin.png
Created November 1, 2021 00:22
Pumpkin surface.
pumpkin.png
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Effect of waves moving.
Inspired by Juan Carlos Ponce
https://mobile.twitter.com/jcponcemath/status/1447388869033283591?t=UJAyYdVEGm3DYvp-ESCByA&s=09
Alt-text: 5 waves propagating from left to right. They are depicted
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nicoguaro
nicoguaro / eig_prob.py
Created August 23, 2021 22:09
Soluton of an eigenvalue problem using finite differences
"""
Problem proposed in:
https://scicomp.stackexchange.com/a/38968/9667
@author: Nicolás Guarín-Zapata
@date: August 2021
"""
@nicoguaro
nicoguaro / cuerda_rigida.ipynb
Last active July 17, 2021 22:12
FEM code for a stiff string
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.