OpenCMISS-Iron Internal API Documentation
fluid_mechanics_IO_routines.f90 File Reference

This module handles some mesh/parameter input routines and cmgui output routines for fluid mechanics routines and should be eventually replaces by field_IO_routines.f90. More...

Go to the source code of this file.

Data Types

type  fluid_mechanics_io_routines::array_mesh
 
type  fluid_mechanics_io_routines::array_int
 
type  fluid_mechanics_io_routines::array_base
 
type  fluid_mechanics_io_routines::array_problem_base
 
type  fluid_mechanics_io_routines::export_container
 
type  fluid_mechanics_io_routines::darcy_parameters
 
type  fluid_mechanics_io_routines::coupling_parameters
 
type  fluid_mechanics_io_routines::boundary_parameters
 
interface  fluid_mechanics_io_routines::fluid_mechanics_io_read_cmheart
 

Modules

module  fluid_mechanics_io_routines
 Temporary IO routines for fluid mechanics.
 

Functions/Subroutines

subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_write_cmgui (REGION, EQUATIONS_SET_GLOBAL_NUMBER, NAME, ERR, ERROR,)
 Writes solution into cmgui formats exelem and exnode. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_write_encas (REGION, EQUATIONS_SET_GLOBAL_NUMBER, NAME, ERR, ERROR,)
 Writes solution into encas. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_write_data_encas (NAME, EQUATIONS_SET)
 Executes nodes writing process. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_write_master_encas_ppe (NAME, start_time_step, number_of_timesteps, time_increment)
 Executes nodes writing process. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_write_master_encas (NAME, start_time_step, number_of_timesteps, time_increment)
 Executes nodes writing process. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_write_encas_block (REGION, EQUATIONS_SET_GLOBAL_NUMBER, NAME, ERR, ERROR,)
 Writes solution into encas — BUT FOR PRESSURE POISSON ONLY — not for general use! More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_write_fitted_field (REGION, EQUATIONS_SET_GLOBAL_NUMBER, NAME, ERR, ERROR,)
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_write_data_encas_block (NAME)
 Executes nodes writing process. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_write_nodes_cmgui (NAME, EQUATIONS_SET)
 Executes nodes writing process. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_write_elements_cmgui (NAME)
 Executes element writing process. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_cmheart1 (EXPORT, ERR)
 Reads in information defined by cmheart input file format. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_cmheart2 (EXPORT, BC, ERR)
 Reads in information defined by cmheart input file format. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_cmheart3 (EXPORT1, EXPORT2, EXPORT3, CONNECT, BC, ERR)
 Reads in information defined by cmheart input file format. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_read_cmheart_finish
 Free memory. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_ppe_masking (BC_MASKING)
 Free memory. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_aux
 Executes cmheart parameter reading process. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_order_numbering (NEW, OLD, n, m, I)
 Reorders the element node definition as needed by OpenCMISS. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_make_unique
 Combines nodes defined separately in cmheart. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_nodes
 Executes cmheart node reading process. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_connect
 Executes cmheart connectivity reading process. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_bc
 Executes cmheart bc reading process. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_read_boundary_conditions_iteration (SOLVER_TYPE, BOUNDARY_VALUES, BOUNDARY_NODES, NUMBER_OF_DIMENSIONS, BOUNDARY_CONDITION, OPTION, ITERATION)
 Reads boundary conditions from a file. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_read_boundary_conditions (SOLVER_TYPE, BOUNDARY_VALUES, NUMBER_OF_DIMENSIONS, BOUNDARY_CONDITION, OPTION, TIME_STEP, TIME, LENGTH_SCALE)
 Reads boundary conditions from a file. More...
 
subroutine, public fluid_mechanics_io_routines::fluidmechanics_io_updateboundaryconditionupdatenodes (GeometricField, SolverType, InletNodes, BoundaryValues, BoundaryCondition, Option, Time, StopTime)
 Updates the boundary condition for a given node and component. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_read_data (SOLVER_TYPE, INPUT_VALUES, NUMBER_OF_DIMENSIONS, INPUT_TYPE, INPUT_OPTION, TIME_STEP, LENGTH_SCALE)
 Reads input data from a file. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_read_elements
 Execute cmheart element reading process. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_print_on_screen
 Writes nice information on screen. More...
 
subroutine, public fluid_mechanics_io_routines::fluid_mechanics_io_read_darcy_params
 Read parameters for Darcy problem. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_darcy_get_analytic
 Get analytic solution for Darcy problem. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_darcy_eval_error
 Evaluate local error for Darcy problem. More...
 
subroutine fluid_mechanics_io_routines::fluid_mechanics_io_darcy_eval_max_error
 Evaluate max error for Darcy problem. More...
 

Variables

type(array_problem_base) fluid_mechanics_io_routines::base_info
 
type(array_mesh), dimension(3) fluid_mechanics_io_routines::mesh_info
 
type(export_container), save fluid_mechanics_io_routines::tmp
 
type(export_container), save fluid_mechanics_io_routines::tmp1
 
type(boundary_parameters) fluid_mechanics_io_routines::bc_tmp
 
type(coupling_parameters) fluid_mechanics_io_routines::connect_tmp
 
type(darcy_parameters), public fluid_mechanics_io_routines::darcy
 
type(field_type), pointer fluid_mechanics_io_routines::field
 
type(field_type), pointer fluid_mechanics_io_routines::material_field
 
type(field_type), pointer fluid_mechanics_io_routines::source_field
 
type(field_interpolation_parameters_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::interpolation_parameters
 
type(field_interpolation_parameters_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::material_interpolation_parameters
 
type(field_interpolated_point_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::interpolated_point
 
type(field_interpolated_point_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::material_interpolated_point
 
type(field_interpolation_parameters_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::source_interpolation_parameters
 
type(field_interpolation_parameters_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::analytic_interpolation_parameters
 
type(field_interpolated_point_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::source_interpolated_point
 
type(field_interpolated_point_ptr_type), dimension(:), pointer fluid_mechanics_io_routines::analytic_interpolated_point
 
integer(intg), dimension(:), allocatable fluid_mechanics_io_routines::nodesperelement
 
integer(intg), dimension(:,:), allocatable fluid_mechanics_io_routines::elementnodes
 
integer(intg) fluid_mechanics_io_routines::numberoffields
 
integer(intg) fluid_mechanics_io_routines::numberofdimensions
 
integer(intg) fluid_mechanics_io_routines::valueindex
 
integer(intg) fluid_mechanics_io_routines::numberofvariablecomponents
 
integer(intg) fluid_mechanics_io_routines::numberofmeshcomponents
 
integer(intg) fluid_mechanics_io_routines::numberofmaterialcomponents
 
integer(intg) fluid_mechanics_io_routines::numberofsourcecomponents
 
integer(intg) fluid_mechanics_io_routines::numberofnodesdefined
 
integer(intg), dimension(4) fluid_mechanics_io_routines::numberoffieldcomponent
 
integer(intg) fluid_mechanics_io_routines::numberofelements
 
integer(intg), dimension(10) fluid_mechanics_io_routines::globalelementnumber
 
integer(intg) fluid_mechanics_io_routines::maxnodesperelement
 
integer(intg) fluid_mechanics_io_routines::maxnodespermeshcomponent
 
integer(intg) fluid_mechanics_io_routines::element_number
 
integer(intg) fluid_mechanics_io_routines::lagrange_simplex
 
integer(intg), dimension(:), allocatable fluid_mechanics_io_routines::nodespermeshcomponent
 
integer(intg), dimension(:), allocatable fluid_mechanics_io_routines::dofspermeshcomponent
 
integer(intg), dimension(:), allocatable fluid_mechanics_io_routines::simplexoutputhelp
 
integer(intg), dimension(:), allocatable fluid_mechanics_io_routines::hexoutputhelp
 
integer(intg) fluid_mechanics_io_routines::fld
 
integer(intg) fluid_mechanics_io_routines::dimen
 
integer(intg), dimension(3) fluid_mechanics_io_routines::opencmiss_interpolation
 
integer(intg) fluid_mechanics_io_routines::a
 
integer(intg) fluid_mechanics_io_routines::b
 
integer(intg), dimension(3) fluid_mechanics_io_routines::numberofnodesperelement
 
integer(intg), dimension(3) fluid_mechanics_io_routines::arrayofnodesdefined
 
integer(intg), dimension(3) fluid_mechanics_io_routines::numberofelementsdefined
 
integer(intg) fluid_mechanics_io_routines::totalnumberofnodes
 
integer(intg), dimension(:,:), allocatable fluid_mechanics_io_routines::opencmiss_elem_m
 
integer(intg), dimension(:,:), allocatable fluid_mechanics_io_routines::opencmiss_elem_v
 
integer(intg), dimension(:,:), allocatable fluid_mechanics_io_routines::opencmiss_elem_p
 
integer(intg) fluid_mechanics_io_routines::tri_basis
 
integer(intg) fluid_mechanics_io_routines::tet_basis
 
integer(intg) fluid_mechanics_io_routines::quad_basis
 
integer(intg) fluid_mechanics_io_routines::hex_basis
 
integer(intg) fluid_mechanics_io_routines::alloc_error
 
integer(intg) fluid_mechanics_io_routines::field_var_type
 
integer(intg) fluid_mechanics_io_routines::var_idx
 
integer(intg) fluid_mechanics_io_routines::parameter_set_idx
 
logical fluid_mechanics_io_routines::dn
 
logical fluid_mechanics_io_routines::output_material
 
logical fluid_mechanics_io_routines::output_source
 
real(dp), dimension(:,:), allocatable fluid_mechanics_io_routines::elementnodesscales
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::xi_coordinates
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::coordinates
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodexvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeyvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodezvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeuvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodevvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodewvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeuvalueorg
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodevvalueorg
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodewvalueorg
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodepvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodepvalue2
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodemivalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodemuvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodelabelvalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::noderhovalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodea0value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodea1value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodea2value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeh0value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeevalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodekappavalue
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeuvalue_analytic
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodevvalue_analytic
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodewvalue_analytic
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodepvalue_analytic
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeuvalue_error
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodevvalue_error
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodewvalue_error
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodepvalue_error
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeperm2value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeperm3value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeperm4value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeperm5value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodeperm6value
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodesourcevalue1
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodesourcevalue2
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodesourcevalue3
 
real(dp), dimension(:), allocatable fluid_mechanics_io_routines::nodesourcevalue4
 
real(dp), dimension(10, 10) fluid_mechanics_io_routines::scalefactorsperelementnodes
 
real(dp), dimension(:,:), allocatable fluid_mechanics_io_routines::opencmiss_node_coord
 
character *2, dimension(99) fluid_mechanics_io_routines::nms
 
character *2 fluid_mechanics_io_routines::knot
 
character *60 fluid_mechanics_io_routines::in_char
 
character *90 fluid_mechanics_io_routines::nimz
 
character *90 fluid_mechanics_io_routines::namz
 

Detailed Description

This module handles some mesh/parameter input routines and cmgui output routines for fluid mechanics routines and should be eventually replaces by field_IO_routines.f90.

Author
Sebastian Krittian

LICENSE

Version: MPL 1.1/GPL 2.0/LGPL 2.1

The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Original Code is OpenCMISS

The Initial Developer of the Original Code is University of Auckland, Auckland, New Zealand, the University of Oxford, Oxford, United Kingdom and King's College, London, United Kingdom. Portions created by the University of Auckland, the University of Oxford and King's College, London are Copyright (C) 2007-2010 by the University of Auckland, the University of Oxford and King's College, London. All Rights Reserved.

Contributor(s):

Alternatively, the contents of this file may be used under the terms of either the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL.

Definition in file fluid_mechanics_IO_routines.f90.