Commit 9039e5f3 authored by Radek Fučík's avatar Radek Fučík
Browse files

new structure of the code

parent f5103a6c
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@
* Tomáš Oberhuber (oberhuber.tomas@fjfi.cvut.cz) FNSPE CTU in Prague, Czech Republic
* Tomáš Oberhuber (oberhuber.tomas@fjfi.cvut.cz) FNSPE CTU in Prague, Czech Republic


 Read and cite: <br/>
 Read and cite: <br/>
* Radek Fučík, Pavel Eichler, Jakub Klinkovský, Robert Straka and Tomáš Oberhuber: <i>Lattice Boltzmann Method Analysis Tool (LBMAT)</i> in preparation
* Radek Fučík, Pavel Eichler, Jakub Klinkovský, Robert Straka and Tomáš Oberhuber: <i>Lattice Boltzmann Method Analysis Tool (LBMAT)</i>, in review in Numerical Algorithms


* Radek Fučík and Robert Straka: <i>Equivalent finite difference and partial differential equations for the lattice Boltzmann method</i>, Elsevier Computers & Mathematics with Applications, vol. 90, 2021, 96-103 
* Radek Fučík and Robert Straka: <i>Equivalent finite difference and partial differential equations for the lattice Boltzmann method</i>, Elsevier Computers & Mathematics with Applications, vol. 90, 2021, 96-103 
 https://doi.org/10.1016/j.camwa.2021.03.014
 https://doi.org/10.1016/j.camwa.2021.03.014
@@ -57,6 +57,6 @@ and [TeX Live](https://tug.org/texlive/).
LBMAT was tested on Linux systems, but you may have luck using it on other operating systems too.
LBMAT was tested on Linux systems, but you may have luck using it on other operating systems too.


1. Clone the repository: `git clone https://mmg-gitlab.fjfi.cvut.cz/gitlab/lbm/lbmat.git`
1. Clone the repository: `git clone https://mmg-gitlab.fjfi.cvut.cz/gitlab/lbm/lbmat.git`
2. Select the model and go to its directory, e.g. `cd lbmat/d1q3_ade`
2. Select the model and go to its directory, e.g. `cd lbmat/src/d1q3_ade`
3. Run LBMAT for the model: `make`
3. Run LBMAT for the model: `make`
4. Open the generated PDF file, e.g. `supp_d1q3_ade.pdf`
4. Open the generated PDF file, e.g. `supp_d1q3_ade.pdf`

d1q3_ade/Makefile

deleted100644 → 0
+0 −10
Original line number Original line Diff line number Diff line
defaults: all

all:
	@+../scripts/build.sh

clean:
	@rm -rf output* compare* latex simplify

purge: clean
	@rm -rf *.pdf

d1q3_ade/supp_d1q3_ade.tex

deleted100644 → 0
+0 −56
Original line number Original line Diff line number Diff line
\input{latex/header}

\titler{D1Q3}{ADE}
\def\model{d1q3}
\def\pde{ade}
\def\path{latex}

\input{\path/\model_defs}

\begin{document}
\maketitle
\tableofcontents

\section{Global definitions}
\input{\path/supp_\model_defs}

\section{Spatial EPDEs}

\subsection{SRT}
\def\colmod{srt}
\subsubsection{Definitions}
\input{\path/supp_\model_\colmod_defs}

\subsubsection{Conservation of mass equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_00.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}

\subsection{MRT}
\def\colmod{mrt1}
\subsubsection{Definitions}
\input{\path/supp_\model_\colmod_defs}

\subsubsection{Conservation of mass equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_00.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}

\subsection{CLBM}
\def\colmod{clbm1}
\subsubsection{Definitions}
\input{\path/supp_\model_\colmod_defs}

\subsubsection{Conservation of mass equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_00.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}

\section{Comparison of SRT, MRT, and CLBM}

\subsection{Conservation of mass equation}
\input{compare_output_\model_\pde/pde_00}

\bibliography{\path/ref.bib}

\end{document}

d1q3_nse/Makefile

deleted100644 → 0
+0 −10
Original line number Original line Diff line number Diff line
defaults: all

all:
	@+../scripts/build.sh

clean:
	@rm -rf output* compare* latex simplify

purge: clean
	@rm -rf *.pdf

d1q3_nse/supp_d1q3_nse.tex

deleted100644 → 0
+0 −108
Original line number Original line Diff line number Diff line
\input{latex/header}

\titler{D1Q3}{NSE}
\def\model{d1q3}
\def\pde{nse}
\def\path{latex}

\input{\path/\model_defs}

\begin{document}
\maketitle
\tableofcontents

\section{Global definitions}
\input{\path/supp_\model_defs}

\section{Spatial EPDEs}

\subsection{SRT}
\def\colmod{srt}
\subsubsection{Definitions}
\input{\path/supp_\model_\colmod_defs}

\subsubsection{Conservation of mass equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_00.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}

\subsubsection{Conservation of momentum equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_01.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_01}

\subsection{MRT}
\def\colmod{mrt1}
\subsubsection{Definitions}
\input{\path/supp_\model_\colmod_defs}

\subsubsection{Conservation of mass equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_00.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}

\subsubsection{Conservation of momentum equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_01.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_01}


\subsection{CLBM}
\def\colmod{clbm1}
\subsubsection{Definitions}
\input{\path/supp_\model_\colmod_defs}

\subsubsection{Conservation of mass equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_00.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}

\subsubsection{Conservation of momentum equation}
\attachtxt{output_\model_\pde_\colmod_symbolic_pde_01.txt}

\input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_01}

\section{Comparison of SRT, MRT, and CLBM}

\subsection{Conservation of mass equation}
\input{compare_output_\model_\pde/pde_00}

\subsection{Conservation of momentum equation}
\input{compare_output_\model_\pde/pde_01}
% 
% 
% 
% \section{Spatial EPDEs}
% 
% \subsection{SRT}
% \def\colmod{srt}
% \subsubsection{Definitions}
% \input{\path/supp_\model_\colmod_defs}
% 
% \subsubsection{Conservation of mass equation}
% \input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}
% 
% \subsection{MRT}
% \def\colmod{mrt1}
% \subsubsection{Definitions}
% \input{\path/supp_\model_\colmod_defs}
% 
% \subsubsection{Conservation of mass equation}
% \input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}
% 
% \subsection{CLBM}
% \def\colmod{clbm1}
% \subsubsection{Definitions}
% \input{\path/supp_\model_\colmod_defs}
% 
% \subsubsection{Conservation of mass equation}
% \input{output_\model_\pde_\colmod_symbolic/spatial_EPDE/pde_00}
% 
% \section{Comparison of SRT, MRT, and CLBM}
% 
% \subsection{Conservation of mass equation}
% \input{compare_output_\model_\pde/pde_00}

\bibliography{\path/ref.bib}

\end{document}
Loading