axisym_fluid_traction_elements.cc
Go to the documentation of this file.
1// LIC// ====================================================================
2// LIC// This file forms part of oomph-lib, the object-oriented,
3// LIC// multi-physics finite-element library, available
4// LIC// at http://www.oomph-lib.org.
5// LIC//
6// LIC// Copyright (C) 2006-2022 Matthias Heil and Andrew Hazel
7// LIC//
8// LIC// This library is free software; you can redistribute it and/or
9// LIC// modify it under the terms of the GNU Lesser General Public
10// LIC// License as published by the Free Software Foundation; either
11// LIC// version 2.1 of the License, or (at your option) any later version.
12// LIC//
13// LIC// This library is distributed in the hope that it will be useful,
14// LIC// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// LIC// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16// LIC// Lesser General Public License for more details.
17// LIC//
18// LIC// You should have received a copy of the GNU Lesser General Public
19// LIC// License along with this library; if not, write to the Free Software
20// LIC// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21// LIC// 02110-1301 USA.
22// LIC//
23// LIC// The authors may be contacted at oomph-lib@maths.man.ac.uk.
24// LIC//
25// LIC//====================================================================
26
27// Config header generated by autoconfig
28#ifdef HAVE_CONFIG_H
29#include <oomph-lib-config.h>
30#endif
31
32
33// OOMPH-LIB headers
35
36namespace oomph
37{
38 //=======================================================================
39 /// Namespace containing the zero traction function for axisymmetric
40 /// Navier Stokes traction elements
41 //=======================================================================
42 namespace AxisymmetricNavierStokesTractionElementHelper
43 {
44 //=======================================================================
45 /// Default load function (zero traction)
46 //=======================================================================
47 void Zero_traction_fct(const double& time,
48 const Vector<double>& x,
49 const Vector<double>& N,
50 Vector<double>& load)
51 {
52 unsigned n_dim = load.size();
53 for (unsigned i = 0; i < n_dim; i++)
54 {
55 load[i] = 0.0;
56 }
57 }
58
59 } // namespace AxisymmetricNavierStokesTractionElementHelper
60
61 /// //////////////////////////////////////////////////////////////////////
62 /// //////////////////////////////////////////////////////////////////////
63 /// //////////////////////////////////////////////////////////////////////
64
65
66 //=======================================================================
67 /// Namespace containing the default Strouhal number of axisymmetric
68 /// linearised FSI.
69 //=======================================================================
70 namespace LinearisedFSIAxisymmetricNStNoSlipBCHelper
71 {
72 /// Default for fluid Strouhal number
74
75 } // namespace LinearisedFSIAxisymmetricNStNoSlipBCHelper
76
77} // namespace oomph
cstr elem_len * i
Definition: cfortran.h:603
void Zero_traction_fct(const double &time, const Vector< double > &x, const Vector< double > &N, Vector< double > &load)
Default load function (zero traction)
double Default_strouhal_number
Default for fluid Strouhal number.
//////////////////////////////////////////////////////////////////// ////////////////////////////////...