asl::FDMultiPhase Class Reference
Physics » Transport Processes | Numerics » Numerical Methods

Numerical method which computes multiphase transport processes. More...

`#include <aslFDMultiPhase.h>`

Inheritance diagram for asl::FDMultiPhase:
[legend]
Collaboration diagram for asl::FDMultiPhase:
[legend]

## Public Types

typedef SPDataWithGhostNodesACLData | Data
typedef SPAbstractDataWithGhostNodes | Field
typedef SPDataWithGhostNodesACLData | Data
typedef SPAbstractDataWithGhostNodes | Field

## Public Member Functions

| FDMultiPhase ()
| FDMultiPhase (Data c, const acl::VectorOfElements &dC, const acl::VectorOfElements &rC, const VectorTemplate *vT)
void | setDiffusionCoefficient (acl::VectorOfElements d)
const acl::VectorOfElements & | getDiffusionCoefficient () const
void | setRepulsionConstant (acl::VectorOfElements d)
const acl::VectorOfElements & | getRepulsionConstant () const
void | setVectorTemplate (VectorTemplate *vT)
const VectorTemplate * | getVectorTemplate () const
void | setVelocity (Field v, bool compressibilityCorrection=false)
Field | getVelocity ()
std::vector< Data > & | getData ()
void | addComponent (Data c)
| FDMultiPhase ()
| FDMultiPhase (Data c, const acl::VectorOfElements &dC, const acl::VectorOfElements &rC, const VectorTemplate *vT)
void | setDiffusionCoefficient (acl::VectorOfElements d)
const acl::VectorOfElements & | getDiffusionCoefficient () const
void | setRepulsionConstant (acl::VectorOfElements d)
const acl::VectorOfElements & | getRepulsionConstant () const
void | setVectorTemplate (VectorTemplate *vT)
const VectorTemplate * | getVectorTemplate () const
void | setVelocity (Field v, bool compressibilityCorrection=false)
Field | getVelocity ()
std::vector< Data > & | getData ()
void | addComponent (Data c)
Public Member Functions inherited from asl::SingleKernelNM
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
virtual | ~SingleKernelNM ()
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
virtual | ~SingleKernelNM ()
Public Member Functions inherited from asl::NumMethod
virtual | ~NumMethod ()
virtual | ~NumMethod ()

## Additional Inherited Members

Protected Member Functions inherited from asl::SingleKernelNM
virtual void | preProcessing ()
| the function executed before kernel->compute() More...
| SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
virtual void | preProcessing ()
| the function executed before kernel->compute() More...
| SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
Protected Attributes inherited from asl::SingleKernelNM
acl::SPKernel | kernel

## Detailed Description

Numerical method which computes multiphase transport processes.

\[ \partial_t c_i= D \Delta c_i - \nabla (\vec v c_i) -\nabla\left( a c_i \sum_{j\neq i}\nabla c_j \right)\]

where

Parameters

  cData | corresponds to \(c_i\)
  diffusionCoefficient | corresponds to \(D\)
  repulsionconstant | is repulsion constant \(a\)
  velocity | corresponds to \(\vec v\)

Definition at line 58 of file aslFDMultiPhase.h.

## Member Typedef Documentation

## Data [1/2]

typedef SPDataWithGhostNodesACLData asl::FDMultiPhase::Data

Definition at line 61 of file aslFDMultiPhase.h.

## Data [2/2]

typedef SPDataWithGhostNodesACLData asl::FDMultiPhase::Data

Definition at line 61 of file aslFDMultiPhase.h.

## Field [1/2]

typedef SPAbstractDataWithGhostNodes asl::FDMultiPhase::Field

Definition at line 62 of file aslFDMultiPhase.h.

## Field [2/2]

typedef SPAbstractDataWithGhostNodes asl::FDMultiPhase::Field

Definition at line 62 of file aslFDMultiPhase.h.

## Constructor & Destructor Documentation

## FDMultiPhase() [1/4]

asl::FDMultiPhase::FDMultiPhase | ( |  | ) |

## FDMultiPhase() [2/4]

asl::FDMultiPhase::FDMultiPhase | ( | Data | c,
|  | const acl::VectorOfElements & | dC,
|  | const acl::VectorOfElements & | rC,
|  | const VectorTemplate * | vT
| ) |  |

## FDMultiPhase() [3/4]

asl::FDMultiPhase::FDMultiPhase | ( |  | ) |

## FDMultiPhase() [4/4]

asl::FDMultiPhase::FDMultiPhase | ( | Data | c,
|  | const acl::VectorOfElements & | dC,
|  | const acl::VectorOfElements & | rC,
|  | const VectorTemplate * | vT
| ) |  |

## Member Function Documentation

## addComponent() [1/2]

void asl::FDMultiPhase::addComponent | ( | Data | c | ) |

## addComponent() [2/2]

void asl::FDMultiPhase::addComponent | ( | Data | c | ) |

## getData() [1/2]

std::vector< FDMultiPhase::Data > & asl::FDMultiPhase::getData | ( |  | ) |

inline

Definition at line 136 of file aslFDMultiPhase.h.

## getData() [2/2]

std::vector<Data>& asl::FDMultiPhase::getData | ( |  | ) |

inline

## getDiffusionCoefficient() [1/2]

const acl::VectorOfElements & asl::FDMultiPhase::getDiffusionCoefficient | ( |  | ) | const

inline

Definition at line 147 of file aslFDMultiPhase.h.

## getDiffusionCoefficient() [2/2]

const acl::VectorOfElements& asl::FDMultiPhase::getDiffusionCoefficient | ( |  | ) | const

inline

## getRepulsionConstant() [1/2]

const acl::VectorOfElements& asl::FDMultiPhase::getRepulsionConstant | ( |  | ) | const

inline

## getRepulsionConstant() [2/2]

const acl::VectorOfElements& asl::FDMultiPhase::getRepulsionConstant | ( |  | ) | const

inline

## getVectorTemplate() [1/2]

const VectorTemplate * asl::FDMultiPhase::getVectorTemplate | ( |  | ) | const

inline

Definition at line 141 of file aslFDMultiPhase.h.

## getVectorTemplate() [2/2]

const VectorTemplate* asl::FDMultiPhase::getVectorTemplate | ( |  | ) | const

inline

## getVelocity() [1/2]

FDMultiPhase::Field asl::FDMultiPhase::getVelocity | ( |  | ) |

inline

Definition at line 131 of file aslFDMultiPhase.h.

## getVelocity() [2/2]

Field asl::FDMultiPhase::getVelocity | ( |  | ) |

inline

## setDiffusionCoefficient() [1/2]

void asl::FDMultiPhase::setDiffusionCoefficient | ( | acl::VectorOfElements | d | ) |

## setDiffusionCoefficient() [2/2]

void asl::FDMultiPhase::setDiffusionCoefficient | ( | acl::VectorOfElements | d | ) |

## setRepulsionConstant() [1/2]

void asl::FDMultiPhase::setRepulsionConstant | ( | acl::VectorOfElements | d | ) |

## setRepulsionConstant() [2/2]

void asl::FDMultiPhase::setRepulsionConstant | ( | acl::VectorOfElements | d | ) |

## setVectorTemplate() [1/2]

void asl::FDMultiPhase::setVectorTemplate | ( | VectorTemplate * | vT | ) |

## setVectorTemplate() [2/2]

void asl::FDMultiPhase::setVectorTemplate | ( | VectorTemplate * | vT | ) |

## setVelocity() [1/2]

void asl::FDMultiPhase::setVelocity | ( | Field | v,
|  | bool | compressibilityCorrection = `false`
| ) |  |

## setVelocity() [2/2]

void asl::FDMultiPhase::setVelocity | ( | Field | v,
|  | bool | compressibilityCorrection = `false`
| ) |  |

The documentation for this class was generated from the following file:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/num/aslFDMultiPhase.h