| 1 |
% This file was converted to LaTeX by Writer2LaTeX ver. 0.4 |
| 2 |
% see http://www.hj-gym.dk/~hj/writer2latex for more info |
| 3 |
\documentclass[11pt,twoside]{article} |
| 4 |
\usepackage{alltt} |
| 5 |
\usepackage{calc} |
| 6 |
\usepackage{amsmath,amssymb,amsfonts,textcomp} |
| 7 |
\usepackage{hyperref} |
| 8 |
\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue} |
| 9 |
% Text styles |
| 10 |
\newcommand\textstyleInternetlink[1]{\textcolor{blue}{#1}} |
| 11 |
\newcommand\textstyleFootnoteSymbol[1]{\textsuperscript{#1}} |
| 12 |
% Outline numbering |
| 13 |
\setcounter{secnumdepth}{0} |
| 14 |
\newcommand{\cmd}[1] |
| 15 |
{\mbox{\tt #1}\null} |
| 16 |
\newcommand{\code}[1] |
| 17 |
{\mbox{\bf\tt #1}\null} |
| 18 |
\newcommand{\file}[1] |
| 19 |
{\mbox{\bf\em #1}\null} |
| 20 |
\newcommand{\param}[1] |
| 21 |
{\mbox{\{\em #1\}}\null} |
| 22 |
|
| 23 |
% Pages styles (master pages) |
| 24 |
\setlength\parindent{0in} |
| 25 |
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} |
| 26 |
\setlength\textwidth{6.5in} |
| 27 |
\makeatletter |
| 28 |
\newcommand\ps@Standard{% |
| 29 |
\renewcommand\@oddhead{}% |
| 30 |
\renewcommand\@evenhead{}% |
| 31 |
\renewcommand\@oddfoot{}% |
| 32 |
\renewcommand\@evenfoot{}% |
| 33 |
\setlength\paperwidth{8.5in}\setlength\paperheight{11in}\setlength\voffset{-1in}\setlength\hoffset{-1in}\setlength\topmargin{1in}\setlength\headheight{12pt}\setlength\headsep{0cm}\setlength\footskip{12pt+0cm}\setlength\textheight{11in-1in-1in-0cm-12pt-0cm-12pt}\setlength\oddsidemargin{1in}\setlength\textwidth{8.5in-1in-1in} |
| 34 |
\renewcommand\thepage{\arabic{page}} |
| 35 |
\setlength{\skip\footins}{0.0398in}\renewcommand\footnoterule{\vspace*{-0.0071in}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.0071in}}\vspace*{0.0398in}} |
| 36 |
} |
| 37 |
\makeatother |
| 38 |
\pagestyle{plain} |
| 39 |
% footnotes configuration |
| 40 |
\makeatletter |
| 41 |
\renewcommand\thefootnote{\arabic{footnote}} |
| 42 |
\makeatother |
| 43 |
|
| 44 |
\newenvironment{source} |
| 45 |
{\small\begin{quote}\begin{alltt}} |
| 46 |
{\end{alltt}\end{quote}\normalsize} |
| 47 |
|
| 48 |
\begin{document} |
| 49 |
\clearpage\pagestyle{Standard} |
| 50 |
\section[CHSSI CTH Presto One{}-Way Coupling Procedure]{CHSSI CTH Presto |
| 51 |
One{}-Way Coupling Procedure} |
| 52 |
{Version: \centering \today} |
| 53 |
|
| 54 |
Points of contact at SNL: |
| 55 |
\begin{quote} |
| 56 |
David Crawford, |
| 57 |
\href{mailto:[email protected]}{\nolinkurl{[email protected]}} |
| 58 |
505{}-845{}-8975 (CTH) |
| 59 |
|
| 60 |
Arne Gullerud, |
| 61 |
\href{mailto:[email protected]}{\nolinkurl{[email protected]}} |
| 62 |
505{}-844{}-4326 (Presto) |
| 63 |
|
| 64 |
Greg Sjaardema, |
| 65 |
\href{mailto:[email protected]}{\nolinkurl{[email protected]}} |
| 66 |
505{}-844{}-2701 (one{}-way coupling tools, this document) |
| 67 |
\end{quote} |
| 68 |
|
| 69 |
\section{Overview} |
| 70 |
The CHSSI-sponsored One{}-Way coupling of the Eulerian code \code{CTH} |
| 71 |
and the Lagrangian finite element code \code{Presto} is primarily |
| 72 |
focused on simulating the response of structures due to blast loads. |
| 73 |
The one-way coupling capability assumes that the structural response |
| 74 |
time is much greater than the characteristic time of the impinging |
| 75 |
pressure wave from the explosion and, therefore, the pressure loading |
| 76 |
response can be calculated by CTH on a rigid representation of the |
| 77 |
structural model. These pressures are then read by Presto and applied |
| 78 |
as time-varying boundary conditions to the finite element |
| 79 |
representation of the structural model to calculate the structural |
| 80 |
response. There is no feedback or communication of data from the |
| 81 |
\code{presto} analysis back to \code{CTH}; all communication is |
| 82 |
one{}-way from \code{CTH} to \code{presto}. |
| 83 |
|
| 84 |
The codes involved in this process include CTH, Presto, and a few |
| 85 |
utility programs (described below) used to facilitate the data |
| 86 |
movement and data manipulation. |
| 87 |
|
| 88 |
\section{Procedure Overview} |
| 89 |
The one{}-way coupling procedure consists of the following steps: |
| 90 |
\begin{enumerate} |
| 91 |
\item |
| 92 |
Generate finite element mesh of the structural model. The model must |
| 93 |
consist entirely of volume elements (hexes, tetrahedrons, wedges) at |
| 94 |
this time; structural elements (shells, beams, trusses) are not yet |
| 95 |
supported. A workaround for shell models is discussed in Section~\ref{sec:shell}. |
| 96 |
|
| 97 |
\item Generate a model consisting of the exposed surface (`skin') of the |
| 98 |
structural model. |
| 99 |
|
| 100 |
\item Embed the exposed surface model in the CTH grid using a \cmd{diatom} package. |
| 101 |
|
| 102 |
\item Perform CTH blast analysis and export time{}-averaged pressures on the |
| 103 |
surface model. |
| 104 |
|
| 105 |
\item Merge the CTH pressure data with the original finite element mesh for |
| 106 |
use by Presto. |
| 107 |
|
| 108 |
\item Perform the Presto structural analysis using transient pressure data. |
| 109 |
\end{enumerate} |
| 110 |
|
| 111 |
\subsection{Step 1: Generate finite element model} |
| 112 |
NOTE: This step is outside the scope of this document; the finite |
| 113 |
element model for the structural mesh can be generated using any |
| 114 |
finite element mesh generation package. |
| 115 |
|
| 116 |
|
| 117 |
\subsection{Step 2: Generation of exposed surface model}\label{sec:surfmodel} |
| 118 |
|
| 119 |
The Sierra application \code{skinner} is used to generate an exodusII |
| 120 |
file containing the exposed surface facets and outward pointing normals |
| 121 |
of the structural mesh as required by CTH. The \code{skinner} |
| 122 |
application requires an input file that defines the filename of the |
| 123 |
structural finite{}-element model (exodusII format) and the filename |
| 124 |
for output. The input file format is: |
| 125 |
\begin{source} |
| 126 |
BEGIN SIERRA \textit{label} |
| 127 |
BEGIN FINITE ELEMENT MODEL \textit{model\_label} |
| 128 |
DATABASE NAME = \file{structural\_model.g} |
| 129 |
OMIT BLOCK block\_[?] # optional |
| 130 |
END |
| 131 |
|
| 132 |
BEGIN MODEL TO SKIN |
| 133 |
USE FINITE ELEMENT MODEL \textit{model\_label} |
| 134 |
|
| 135 |
BEGIN RESULTS OUTPUT |
| 136 |
DATABASE NAME = \file{surface\_model.g} |
| 137 |
OUTPUT MESH IS EXPOSED SURFACE |
| 138 |
END |
| 139 |
END |
| 140 |
END SIERRA |
| 141 |
\end{source} |
| 142 |
Note that the Sierra parsing service dictates the syntax of this input |
| 143 |
file and is somewhat verbose. All data in uppercase font is required |
| 144 |
(although it can be entered in either upper or lowercase). The data |
| 145 |
in lowercase italics is arbitrary, but whatever is entered for |
| 146 |
\textit{model\_label} must match in both locations. The \file{bold |
| 147 |
lowercase} data specify filenames. If the filenames do not start with |
| 148 |
a slash (`/'), then the specified path is relative to the location |
| 149 |
where the user starts the application. If the filenames do start with a |
| 150 |
slash (`/'), then the specified path is assumed to be an absolute path |
| 151 |
to the location of the files. The `\cmd{OMIT BLOCK}' commands can |
| 152 |
be used to limit the element blocks inserted into the CTH simulation. |
| 153 |
|
| 154 |
|
| 155 |
The \code{skinner} application is run similarly to other Sierra |
| 156 |
applications. Assuming that the user has the \code{sierra} script in their |
| 157 |
path and that the input file is named \file{input\_file.i}, one way to |
| 158 |
run the application would be: |
| 159 |
\begin{source} |
| 160 |
sierra skinner {-}i \file{input\_file.i} |
| 161 |
\end{source} |
| 162 |
There may be other methods for running sierra applications depending on |
| 163 |
specifics at the various installation sites. If everything runs |
| 164 |
correctly, the result of the above command should be a new file |
| 165 |
(\file{surface\_model.g} in the above example) containing surface |
| 166 |
elements defining the exposed surface of the structural model. This |
| 167 |
file will also contain data defining the outward normal vector at each |
| 168 |
node and face as needed by CTH. |
| 169 |
|
| 170 |
\subsection{Steps 3 and 4: Define CTH Model and Run CTH Analysis} |
| 171 |
CTH handles one{}-way coupling with Presto as a special |
| 172 |
option within the \cmd{diatom} material insertion interface. It treats the |
| 173 |
Presto mesh as an absolutely rigid material using the \cmd{rigid} capability |
| 174 |
that has been in CTH for some time. \cmd{rigid} needs to be invoked when |
| 175 |
using one{}-way coupling by inserting a \cmd{rigid} keyword in the \cmd{control} |
| 176 |
section of the input deck as follows: |
| 177 |
\begin{source} |
| 178 |
control |
| 179 |
${\ldots}$*(other keywords) |
| 180 |
rigid |
| 181 |
${\ldots}$*(other keywords) |
| 182 |
endc |
| 183 |
\end{source} |
| 184 |
|
| 185 |
All the example problems included with this primer invoke \cmd{rigid} |
| 186 |
in this way. It is assumed that CTH is being used in GEN{}-less mode |
| 187 |
when using the one-way capability. |
| 188 |
|
| 189 |
The actual insertion of Presto geometry and the harvesting of |
| 190 |
resultant pressures for handoff to Presto are handled by \cmd{diatom}. |
| 191 |
Insertion of the surface description is handled by a special \cmd{one{}-way |
| 192 |
diatom} package. Typical usage is: |
| 193 |
\begin{source} |
| 194 |
diatom |
| 195 |
${\ldots}$ |
| 196 |
package 'My Presto Mesh' |
| 197 |
one_way |
| 198 |
dt_out = 1e-6 |
| 199 |
insert exodus_surf |
| 200 |
file = \file{surface\_model.g} |
| 201 |
inch-psi |
| 202 |
*d_scale=2.54 |
| 203 |
*p_scale=14.5e-6 |
| 204 |
*bl = nn |
| 205 |
endi |
| 206 |
endp |
| 207 |
${\ldots}$ |
| 208 |
* (other packages of normal CTH materials to fill out the rest of the problem) |
| 209 |
${\ldots}$ |
| 210 |
enddiatom |
| 211 |
\end{source} |
| 212 |
The \cmd{one\_way} keyword denotes the package as containing an |
| 213 |
\cmd{exodus\_surf} description. The \cmd{dt\_out} keyword specifies how often |
| 214 |
coupling data is to be added to the output Exodus file (described |
| 215 |
below). The \cmd{inch{}-psi} keyword specifies the units to be used |
| 216 |
by the \cmd{exodus\_surf} file; default units are cgs (cm, |
| 217 |
dynes/cm\textsuperscript{2}). The optional keyword \cmd{d\_scale} is |
| 218 |
the factor for converting \cmd{exodus\_surf} distance to |
| 219 |
centimeters and the keyword \cmd{p\_scale} is the factor for |
| 220 |
converting dynes/cm\textsuperscript{2} to \cmd{exodus\_surf} |
| 221 |
pressure units. The \cmd{inch{}-psi} keyword will set the |
| 222 |
\cmd{d\_scale} and \cmd{p\_scale} to 2.54 and 14.5e{}-6 |
| 223 |
respectively\footnote{More shortcut conversion specifiers like |
| 224 |
\cmd{inch{}-psi} can be added as needed. Please contact the CTH developers if you have a specific request for |
| 225 |
this.}. The optional keyword \cmd{bl} can be used to specify a |
| 226 |
particular element block (an integer number) from the Exodus file for |
| 227 |
insertion into the CTH mesh. If \cmd{bl} is not specified then all |
| 228 |
element blocks are inserted. You may use as many \cmd{one\_way} packages |
| 229 |
as desired. It is recommended that you place \cmd{one\_way} packages |
| 230 |
(actually all \cmd{rigid} packages) at the beginning of the \cmd{diatom} |
| 231 |
description to reflect the fact that they will always be inserted |
| 232 |
before regular CTH materials (regardless of their placement in the |
| 233 |
\cmd{diatom} section). |
| 234 |
|
| 235 |
Ordering of the \cmd{one\_way} packages should not matter. It is not |
| 236 |
recommended that \cmd{one\_way} packages be allowed to physically |
| 237 |
overlap (or to overlap with other rigid material) as this will lead to |
| 238 |
incorrect behavior. |
| 239 |
|
| 240 |
|
| 241 |
The output file produced by CTH for coupling with Presto is named |
| 242 |
\file{\param{name}.cthpres}, where \file{\param{name}} is the name of |
| 243 |
the exodusII mesh file used to define the rigid geometry |
| 244 |
(\file{surface\_model} in the above example). This output file |
| 245 |
contains an extra element variable called \cmd{CTH\_Pressure}; this |
| 246 |
variable is the time{}-varying pressure computed by CTH on each of the |
| 247 |
faces in the rigid geometry. These pressures may be viewed and |
| 248 |
animated in any visualization software supporting the exodusII file |
| 249 |
format. However, additional processing is needed before they can be |
| 250 |
used as input to Presto as described in step~5 below. |
| 251 |
|
| 252 |
The Presto mesh inserted into CTH via the \cmd{exodus\_surf} description is |
| 253 |
assumed to be non{}-moving and non{}-deforming. It is modeled |
| 254 |
internally as an absolutely rigid, frictionless material (i.e. the |
| 255 |
normal velocity component is zeroed at the surface of the Presto |
| 256 |
material but tangential velocity component is unaffected). Because |
| 257 |
CTH uses a rectilinear grid and face centered velocity components, the |
| 258 |
rigid approximation is not perfect, however, and some artifacts may |
| 259 |
occur. There is a natural tendency for material to `bounce' off of the |
| 260 |
rigid material as a consequence of conservation of momentum and the |
| 261 |
finite size of CTH cells. This `bouncy' behavior leads occasionally |
| 262 |
to regions of zero pressure (void) against the surface of the Presto |
| 263 |
mesh. Typically, these regions are small and the zero pressure values |
| 264 |
last only briefly. Because momentum is conserved however, the total |
| 265 |
impulse passed to the Presto mesh is correct even in the presence of |
| 266 |
occasional zero pressures. |
| 267 |
|
| 268 |
A unique aspect of the algorithm being used in the one\_way coupling |
| 269 |
capability is our use of a time{}-integral for computing the average |
| 270 |
pressure on each facet of the surface exodus mesh. Typically the |
| 271 |
\cmd{dt\_out} time interval specified is much longer than the average CTH |
| 272 |
time step. CTH internally accumulates an average value of the |
| 273 |
pressure acting on each facet across the entire \cmd{dt\_out} time |
| 274 |
interval. Consequently, typical pressure values sent to the output |
| 275 |
exodus file are time{}-integrated averages across multiple CTH cycles. |
| 276 |
|
| 277 |
\subsection{Step 5: Merge Pressure Data With Original Structural Model} |
| 278 |
|
| 279 |
One of the outputs from the CTH analysis should be a file |
| 280 |
(`\file{surf\_model.cthpres}' in the above example) containing the calculated |
| 281 |
pressures as a function of time on each face. This data must be |
| 282 |
merged with the original finite element model. The merged file is |
| 283 |
then used as the finite element model for the Presto analysis. The sierra application |
| 284 |
\code{cth\_pressure\_map}\footnote{In earlier releases of the |
| 285 |
CTH--Presto one-way coupling process, the name for this code was |
| 286 |
\code{io\_shell}. If \code{cth\_pressure\_map} does not exist, use |
| 287 |
\code{io\_shell} instead.} is used for this. The basic minimal |
| 288 |
command line for this is: |
| 289 |
\begin{source} |
| 290 |
sierra cth\_pressure\_map {-}i \file{merge\_file.i} |
| 291 |
\end{source} |
| 292 |
The \file{merge\_file.i} file contains three lines: |
| 293 |
\begin{source} |
| 294 |
\file{structural\_model.g} exodusII |
| 295 |
\file{surface\_model.cthpres} exodusII |
| 296 |
\file{structural\_model\_with\_pressures.g} exodusII |
| 297 |
\end{source} |
| 298 |
where \file{structural\_model.g} is the original structural finite element |
| 299 |
model, \file{surface\_model.cthpres} is the surface model with pressures |
| 300 |
created by CTH, and \file{structural\_model\_with\_pressures.g} is the |
| 301 |
output file containing the structural finite element model merged with |
| 302 |
the pressure data which will be used as input to the Presto analysis. |
| 303 |
|
| 304 |
There are several ways in which the pressure data can be modified to |
| 305 |
suit the needs of the Presto analysis. Each of these modifications is |
| 306 |
controlled by an option passed to the \code{cth\_pressure\_map} application. By |
| 307 |
default, \textit{all} data calculated by CTH is merged unchanged with |
| 308 |
the finite element model. The following modifications are supported: |
| 309 |
|
| 310 |
\begin{description} |
| 311 |
\item [Convert from absolute pressure to gage pressure.] The pressure data |
| 312 |
calculated by CTH is \textit{absolute} pressure while Presto analyses |
| 313 |
typically use \textit{gage} pressure. The option `\cmd{{}-O |
| 314 |
{--}Convert\_Gage}'\footnote{ The strange `\cmd{{-}O "{--}option |
| 315 |
value"}' syntax is dictated by the sierra script as a method for |
| 316 |
passing `uncommon' options. If the executable is run directly without |
| 317 |
using the sierra script, then the `\cmd{{-}O}' and the double quotes |
| 318 |
can be omitted. Note that typing `\cmd{{}-O option}' instead of |
| 319 |
`\cmd{{}-O {--}option}' is a common error; always make sure that the |
| 320 |
option has the required double-dash (`{}--`).} will convert the |
| 321 |
absolute pressures to gage pressure. The pressure data at time 0.0 is |
| 322 |
assumed to be the ambient absolute pressure value. |
| 323 |
\item [Specify maximum time to be merged.] If the analyst does not want all |
| 324 |
data on the pressure file to be merged with the structural model, the |
| 325 |
data can be limited by specifying the time up to which the data is |
| 326 |
desired. The option is `\cmd{{-}O "{--}Maximum\_Time |
| 327 |
\param{max\_time}"}' where `\param{max\_time}' is the maximum time |
| 328 |
desired. |
| 329 |
\item [Pressure values at long time.] One of the assumptions of the one{}-way |
| 330 |
coupling is that the blast time is much less than the structural |
| 331 |
response time. Thus the pressure data should only exist for a small |
| 332 |
portion of the structural analysis time. \textit{By default in Presto |
| 333 |
the pressure value existing at the end of the pressure data file will |
| 334 |
be used for all times after that time. } If the CTH blast analysis |
| 335 |
were run to a quasistatic equilibrium state, this would be the correct |
| 336 |
behavior. However, the CTH analysis is typically not run for such a |
| 337 |
long physical time period and therefore the pressure data will not have |
| 338 |
reached an equilibrium state. The user can specify the pressure |
| 339 |
values to use for all times beyond the time period of the CTH analysis. |
| 340 |
The options are: |
| 341 |
|
| 342 |
\begin{enumerate} |
| 343 |
\item \cmd{{-}O "{--}Final\_Pressure ZERO" }(The long{}-time |
| 344 |
pressures are all zero.) |
| 345 |
\item \cmd{{-}O "{--}Final\_Pressure INITIAL"} (The long{}-time |
| 346 |
pressures are the same as the pressures at time = 0.0 on the pressure |
| 347 |
data file. Note that if the \cmd{Convert\_Gage }option is |
| 348 |
specified, then \cmd{ZERO} and \cmd{INITIAL} will give the same |
| 349 |
results.) |
| 350 |
\item \cmd{{-}O "{--}Final\_Pessure FINAL"} (The calculated |
| 351 |
pressures at the end of the file will be used from that time onward.) |
| 352 |
\item \cmd{{-}O "{--}Final\_Pressure OFFSET"} (The long{}-time |
| 353 |
pressures are the same as the pressure value specified via the |
| 354 |
\cmd{Offset\_pressure} option. Note that if the \cmd{Convert\_Gage }option is |
| 355 |
specified, then the final pressures will also be modified by the gage |
| 356 |
pressure correction. |
| 357 |
\end{enumerate} |
| 358 |
|
| 359 |
\item [Long time pressure time.] If the `\cmd{{--}Final\_Pressure}' option |
| 360 |
is specified, the merging code adds a new time step with the specified |
| 361 |
final pressure. By default, the delta time between the last calculated |
| 362 |
pressures and the final pressure data is the same as the delta time |
| 363 |
between the last two calculated pressures. Depending on the pressure |
| 364 |
state at which the CTH analysis was terminated, this may result in a |
| 365 |
sharp pressure gradient at this time. If a longer delta time is |
| 366 |
wanted, it can be specified via the \cmd{{}-O |
| 367 |
"{--}Final\_Time\_Delta \param{dt}"} option where |
| 368 |
\param{dt} is the desired time delta. This |
| 369 |
option has no affect if the \cmd{{--}Final\_Pressure} option is |
| 370 |
not specified. |
| 371 |
\item [Short time.] If the \cmd{{}--Minimum\_time} option is specified the |
| 372 |
merging code deletes the pressures for times less than the specified |
| 373 |
value. All output time values will be offset by the time value of the |
| 374 |
first timestep with a time larger than the specified minimum time. |
| 375 |
\item [Offset time.] If the \cmd{{}--Offset\_time} option is specified, |
| 376 |
then all output time values will be offset by the specified value from |
| 377 |
the input time values. In addition, an initial time step at time 0.0 |
| 378 |
will be output with all pressure values set to 0.0 (or the pressure |
| 379 |
offset value if specified). |
| 380 |
|
| 381 |
\item [Offset pressure.] If the \cmd{{}--Offset\_pressure} option is |
| 382 |
specified, then the specified value will be added to all output pressures |
| 383 |
\end{description} |
| 384 |
|
| 385 |
A more complicated example of running the pressure merging step is: |
| 386 |
|
| 387 |
\begin{source} |
| 388 |
sierra cth_pressure_map -i \file{merge\_file.i} |
| 389 |
{-}O "{--}Final\_Pressure ZERO" |
| 390 |
{-}O "{--}Maximum\_Time 0.0015" |
| 391 |
{-}O {--}Convert\_Gage |
| 392 |
{-}O "{--}Final\_Time\_Delta 0.001" |
| 393 |
{-}O "{--}Minimum\_time 0.0001" |
| 394 |
\end{source} |
| 395 |
|
| 396 |
In this example pressures are merged with structural finite element |
| 397 |
model, converted from absolute pressure to gage pressure. The |
| 398 |
pressure data is only merged after time 0.0001 up to time 0.0015. |
| 399 |
After that time the pressure data is zeroed and the zeroed data is |
| 400 |
written at time 0.0025 (0.0015 + 0.001). |
| 401 |
|
| 402 |
\subsection{Step 6: Perform Presto Structural Analysis}\label{sec:step6} |
| 403 |
|
| 404 |
Within Presto, the pressure data and the finite element model are read |
| 405 |
from the same exodusII database |
| 406 |
(\file{structural\_model\_with\_pressures.g }in the above example). |
| 407 |
The following `pressure block' located in the `region scope' tells |
| 408 |
presto where to find the pressure data: |
| 409 |
|
| 410 |
\begin{source} |
| 411 |
begin pressure |
| 412 |
surface = ssblock\_1 |
| 413 |
read variable = cth\_pressure |
| 414 |
end |
| 415 |
\end{source} |
| 416 |
|
| 417 |
Here, \cmd{ssblock\_1} is the new surface created by the merge process in |
| 418 |
step~5 above. The actual surface name can be |
| 419 |
determined via the \cmd{explore} exodusII query program. The syntax and |
| 420 |
output is: |
| 421 |
\begin{source} |
| 422 |
explore structural_model_with_presssures.g |
| 423 |
EXPLORE> list ssets |
| 424 |
EXPLORE> exit |
| 425 |
|
| 426 |
Set 1 (#1): 11520 elements (index=1) ... name = "surface_hex8_quadface4_1" |
| 427 |
Set 2 (#2): 1440 elements (index=11521) ... name = "surface_hex8_quadface4_2" |
| 428 |
Set 3 (#3): 51264 elements (index=12961) ... name = "ssblock_1" |
| 429 |
cth_pressure |
| 430 |
\end{source} |
| 431 |
Note that sideset 3 which is named \cmd{ssblock\_1} has the variable |
| 432 |
\cmd{cth\_pressure} defined on it and is the last sideset in the model. |
| 433 |
|
| 434 |
\section{Notes} |
| 435 |
|
| 436 |
\begin{itemize} |
| 437 |
\item It is important to note that the pressure mapping from the CTH generated |
| 438 |
results to the Presto input mesh is \em{topological} and not \em{spatial}. |
| 439 |
Thus, the finite element mesh skinned and used in the CTH simulation |
| 440 |
must have the same connectivity and numbering when used in the Presto |
| 441 |
simulation, albeit with possible additional elements. Thus, it is |
| 442 |
somewhat `tricky' to modify the structural finite{}-element model |
| 443 |
without rerunning the CTH analysis, although it can be done with care. |
| 444 |
A general spatial mapping routine could be implemented as well for |
| 445 |
increased flexibility. |
| 446 |
|
| 447 |
\item We recommend having at least three CTH cells through any solid material |
| 448 |
(through thickness) in order to avoid any `bleed through' of pressure |
| 449 |
from one side to the other, e.g on thin plates. |
| 450 |
|
| 451 |
\item The pressure distributions can be spatially clipped within Presto input |
| 452 |
deck by using the `\cmd{remove surface}' option within the |
| 453 |
\cmd{pressure} block. |
| 454 |
|
| 455 |
\item Care must be exercised when solid material in the CTH simulation is in |
| 456 |
contact with the inserted finite{}-element model as only the scalar |
| 457 |
hydrostatic pressure is mapped and not the traction vector. Future |
| 458 |
enhancements could include mapping of the full traction vector obtained |
| 459 |
from the stress tensor. |
| 460 |
|
| 461 |
\item It is possible to export to the exodus output file the CTH pressure |
| 462 |
contribution to the external force vector in the Presto simulation. |
| 463 |
These values can also be summed over a surface using commands within |
| 464 |
the Presto input deck for output to the exodus history file. |
| 465 |
|
| 466 |
\end{itemize} |
| 467 |
|
| 468 |
\section{Shell Workaround}\label{sec:shell} |
| 469 |
|
| 470 |
The one-way coupling process is currently only supported for finite |
| 471 |
element models consisting of hexahedral elements. The reason for this |
| 472 |
limitation is that the \code{CTH} mesh embedding process requires that the |
| 473 |
surface description be ``watertight'' and that the ``back'' of a |
| 474 |
surface face must extend out of the \code{CTH} cell that the front |
| 475 |
face is in. Basically, the problem is that the zero-thickness shells |
| 476 |
can provide an ambiguous surface description. |
| 477 |
|
| 478 |
However, since many models are composed of geometries for which shell |
| 479 |
elements would be the logical element type to use in the \code{Presto} |
| 480 |
structural response calculations, a ``kluge'' or ``workaround'' has |
| 481 |
been developed which gives the analyst the capability to use shell |
| 482 |
elements in the \code{Presto} analysis and still provide \code{CTH} |
| 483 |
with a well-defined surface mesh. The workaround involves some extra |
| 484 |
work for the analyst. |
| 485 |
|
| 486 |
The workaround is to add one or more layers of hex elements to the |
| 487 |
``back'' (away from the pressure source) of the shell structure. The |
| 488 |
hexes are then deleted from the model when the structural code is |
| 489 |
run. The hex elements are only needed to provide a non-zero thickness |
| 490 |
surface geometry for the \code{CTH} analysis and are not present in |
| 491 |
the \code{Presto} analysis. The hex-shell interface {\em must} be |
| 492 |
contiguous; that is, the hexes and shells at the interface must share |
| 493 |
the nodes. The process for doing this varies in the different mesh |
| 494 |
generation programs, but it is a common meshing procedure so it should |
| 495 |
be supported in all of the programs. |
| 496 |
|
| 497 |
The one-way coupling process for structures containing shells is |
| 498 |
executed as described earlier in this document except for a couple |
| 499 |
modifications: |
| 500 |
\begin{itemize} |
| 501 |
\item The \cmd{OMIT BLOCK} command is used to delete the hex elements |
| 502 |
which have been added as backing to the shells (If they are truly not |
| 503 |
part of the structural model). The syntax for this is shown in |
| 504 |
Step~2; the command would be added to the |
| 505 |
\cmd{BEGIN FINITE ELEMENT MODEL} command block in the \code{Presto} input file in Step~6. |
| 506 |
\item If the \code{Presto} analysis is run in parallel, then the load |
| 507 |
balancing can be skewed by the hex elements which will be omitted |
| 508 |
which can cause the analysis to be unbalanced. To fix this, the load |
| 509 |
balancing script \code{loadbal} is told to ``weight'' the retained |
| 510 |
element blocks much more than the deleted element blocks. For example, |
| 511 |
if the model contains a shell element block with id 10 and the hex |
| 512 |
elements to be deleted are in element block 20; a loadbal command to |
| 513 |
run this model on 16 processors would be: |
| 514 |
\begin{source} |
| 515 |
loadbal -n "-w eb=10:1000 -w eb=20:1" -p 16 -inertial \ldots |
| 516 |
\end{source} |
| 517 |
\begin{quote} |
| 518 |
Where: |
| 519 |
\begin{description} |
| 520 |
\item[\cmd{-n}] indicates to pass the following option on to the \code{nem\_slice} procsss. |
| 521 |
\item[\cmd{"\ldots"}] is the option that will be passed to \code{nem\_slice}. |
| 522 |
\item[\cmd{-w eb=10:1000}] specifies that the element block with the id of |
| 523 |
10 has a weight of 1000. This is the shell element block that will be |
| 524 |
retained in the analysis. |
| 525 |
\item[\cmd{-w eb=20:1}] specifies that the element block with the id of 20 |
| 526 |
has a weight of 1. This is the hex element block that will be omitted |
| 527 |
from the analysis. |
| 528 |
\end{description} |
| 529 |
This will typically give a good load balance for the retained element blocks. |
| 530 |
\end{quote} |
| 531 |
\end{itemize} |
| 532 |
\end{document} |