저의 개인 블로그는 이곳으로 이사했습니다.
https://dymaxionkim.github.io/beautiful-jekyll/

sudo apt-get install nodejs nodejs-legacy npm
sudo npm install jingo
mkdir /home/홈폴더/jingo
cd /home/홈폴더/jingo
git init
git config --global user.name "아이디"
git config --global user.email "이메일"
jingo -s > config.yaml
jingo -# 비밀번호
---
# Configuration sample file for Jingo (YAML)
application:
title: Jingo
repository: '/home/홈폴더/jingo' <--- Git 저장소로 설정한 디렉토리 절대경로
docSubdir: ''
remote: ''
pushInterval: 30
secret: change me
git: git
skipGitCheck: false
loggingMode: 1
pedanticMarkdown: true
gfmBreaks: true
staticWhitelist: "/\\.png$/i, /\\.jpg$/i, /\\.gif$/i"
authentication:
google:
enabled: false <--- Google 로그인은 일단 비활성화 해 두자.
clientId: replace me with the real value
clientSecret: replace me with the real value
github:
enabled: false <--- Github 로그인도 일단 비활성화 해 두자.
clientId: replace me with the real value
clientSecret: replace me with the real value
local:
enabled: true <--- 로컬 로그인만 활성화 해 두자.
accounts:
- username: '아이디' <--- 아이디
passwordHash: '해쉬코드' <--- 아까 만들어서 복사해 둔 해쉬코드를 넣어준다.
email: '이메일' <--- 이메일
features:
markitup: false
codemirror: true
server:
hostname: localhost
port: 6067
localOnly: false
baseUrl: ''
authorization:
anonRead: true
validMatches: .+
pages:
index: Home
title:
fromFilename: true
fromContent: false
asciiOnly: false
lowercase: false
itemsPerPage: 10
customizations:
sidebar: _sidebar.md
footer: _footer.md
style: _style.css
script: _script.js
jingo -c /home/홈폴더/jingo/config.yaml
Header
CHECK KEYWORDS Warn
Mesh DB "." "cubes"
Include Path ""
Results Directory ""
End
$fileid="c"
Simulation
Max Output Level = 20
Coordinate System = Cartesian 3D
Coordinate Mapping(3) = 1 2 3
!Simulation Type = Steady State
Simulation Type = Scanning
Timestep intervals = 200
Timestep sizes = 1
Steady State Min Iterations = 1
Steady State Max Iterations = 1
Post File = case_$fileid$.vtu
Save Geometry Ids = Logical True
Mesh Levels = 2
! The ElasticSolver does not really like the Dirichlet conditions at the start
! of the nonlinear iteration.
Initialize Dirichlet Conditions = False
End
!Constants
! Gravity(4) = 0 -1 0 9.82
!End
Equation 1
Name = "Deformation"
Active Solvers(1) = 1
Plane Strain = Logical True
End
Body 1
Name = "Lower block"
Target Bodies(1) = 55
Equation = 1
Material = 1
End
Body 2
Name = "Upper block"
Target Bodies(1) = 56
Equation = 1
Material = 1
End
Material 1
Name = "Ideal"
Youngs modulus = 90.0
Density = 10.0
Poisson ratio = 0.25
End
Solver 1
Equation = "Nonlinear elasticity"
Procedure = "ElasticSolve" "ElasticSolver"
Variable = -dofs 3 Displacement
Nonlinear System Convergence Tolerance = 1.0e-5
Nonlinear System Max Iterations = 10
Nonlinear System Relaxation Factor = 1.0
Linear System Solver = "Iterative"
Linear System Iterative Method = "BiCGStab"
Linear System Abort Not Converged = True
Linear System Preconditioning = "ILU2"
Linear System Residual Output = 100
Linear System Max Iterations = 5000
BiCGStabl Polynomial Degree = 4
Linear System Convergence Tolerance = 1.0e-10
Apply Contact BCs = Logical True
! Save Contact = Logical True
! Restore the linear solution
! Elasticity Solver Linear = Logical True
Calculate Stresses = Logical True
! Optimize Bandwidth = False
Displace Mesh = Logical True
! Calculate Boundary Weights = Logical True
! Do not include constraints when analyzing the convergence and norm of a solution
Nonlinear System Convergence Without Constraints = Logical True
End
Solver 2
Exec Solver = never
Equation = "SaveLine"
Procedure = "SaveData" "SaveLine"
Filename = f_$fileid$.dat
End
Boundary Condition 1
Name = "Support"
Target Boundaries(1) = 57
Displacement 3 = Real 0.0
End
Boundary Condition 2
Name = "Lower surface of upper block"
Target Boundaries(1) = 58
Mortar BC = Integer 3
Mortar BC Nonlinear = Logical True
Contact Depth Offset Initial = Real 1.0e-3
!Contact Active Set Minimum = Integer 1
!Contact No-Slip = Logical True
! Create a strong projector for the line setting y-coordinate to zero
Flat Projector = Logical True
! a) Use weak projector or not
Galerkin Projector = Logical False
! b) Use more tailored projector able to do accurate integration
Level Projector = Logical True
Level Projector Generic = True
End
Boundary Condition 3
Name = "Upper surface of lower block"
Target Boundaries(1) = 59
End
Boundary Condition 4
Name = "Pressure load the upper surface of upper block"
Target Boundaries(1) = 60
!Normal Surface Traction = -1.0
Normal Surface Traction = Variable Time
Real MATC "-1*sin(2*pi*tx/200)-1"
End
Boundary Condition 5
Name = "Symmetry y-z"
Target Boundaries(1) = 61
Displacement 1 = 0.0
End
Boundary Condition 6
Name = "Symmetry x-z"
Target Boundaries(1) = 62
Displacement 2 = 0.0
End
Solver 1 :: Reference Norm = 0.66961642E-02
Solver 1 :: Reference Norm Tolerance = 1.0e-6