Skip to content

Commit 413f2b5

Browse files
committed
update for gmsh to output correct legacy format
1 parent 96a1b5c commit 413f2b5

File tree

3 files changed

+21
-25
lines changed

3 files changed

+21
-25
lines changed

doc/bjtexample.pdf

5.72 KB
Binary file not shown.

doc/bjtexample.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ \subsection{Meshing and Refinement}
6666
\begin{minipage}{\textwidth}
6767
The steps are:
6868
\begin{verbatim}
69-
gmsh -2 bjt.geo
70-
devsim bjt_refine.py
71-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
72-
devsim bjt_refine.py
73-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
74-
devsim bjt_refine.py
75-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
76-
devsim bjt_refine.py
77-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
78-
devsim bjt_refine.py
69+
gmsh -format msh2 -2 bjt.geo
70+
devsim bjt_refine.py
71+
gmsh -format msh2 -2 bjt.geo -bgm ./bjt_bgmesh.pos
72+
devsim bjt_refine.py
73+
gmsh -format msh2 -2 bjt.geo -bgm ./bjt_bgmesh.pos
74+
devsim bjt_refine.py
75+
gmsh -format msh2 -2 bjt.geo -bgm ./bjt_bgmesh.pos
76+
devsim bjt_refine.py
77+
gmsh -format msh2 -2 bjt.geo -bgm ./bjt_bgmesh.pos
78+
devsim bjt_refine.py
7979
\end{verbatim}
8080
\end{minipage}
8181
\\~\\
@@ -112,7 +112,7 @@ \subsubsection{Small-signal ac sweep}
112112
\end{verbatim}
113113

114114
\subsection{Visualization}
115-
The \texttt{data/} directory contains scripts used to generate the plots used for publication. A script was written to collect the data from the simulations to create plots using \texttt{matplotlib}. This script is in the \texttt{data/} directory and is called \texttt{prep.sh}.
115+
The \texttt{data/} directory contains scripts used to generate the plots used for publication. A script was written to collect the data from the simulations to create plots using \texttt{matplotlib}. This script is in the \texttt{data/} directory and is called \texttt{prep.sh}.
116116

117117
\begin{tabular}{ll}
118118
\texttt{ft.py} & Small-signal ft simulation\\

simdir/README

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
# get the initial coarse mesh
22
# create the background mesh
33
# use the background mesh
4-
gmsh -2 bjt.geo
5-
python bjt_refine.py
6-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
7-
python bjt_refine.py
8-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
9-
python bjt_refine.py
10-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
11-
python bjt_refine.py
12-
gmsh -2 bjt.geo -bgm ./bjt_bgmesh.pos
13-
python bjt_refine.py
4+
gmsh -format 'msh2' -2 bjt.geo
5+
python bjt_refine.py
6+
gmsh -format 'msh2' -2 bjt.geo -bgm ./bjt_bgmesh.pos
7+
python bjt_refine.py
8+
gmsh -format 'msh2' -2 bjt.geo -bgm ./bjt_bgmesh.pos
9+
python bjt_refine.py
10+
gmsh -format 'msh2' -2 bjt.geo -bgm ./bjt_bgmesh.pos
11+
python bjt_refine.py
12+
gmsh -format 'msh2' -2 bjt.geo -bgm ./bjt_bgmesh.pos
13+
python bjt_refine.py
1414

1515
#visualize
1616
visit bjt_refine.tec
17-
18-
#if using tcsh
19-
export SHELL=/bin/bash
20-
parallel --gnu < simsbatch.txt

0 commit comments

Comments
 (0)