3.4.0
tigl::generated::CPACSNacelleSection Class Reference

Section. More...

#include <CPACSNacelleSection.h>

+ Inheritance diagram for tigl::generated::CPACSNacelleSection:

Public Member Functions

TIGL_EXPORT CPACSNacelleSection (CCPACSNacelleSections *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CCPACSNacelleSectionsGetParent ()
 
TIGL_EXPORT const CCPACSNacelleSectionsGetParent () const
 
virtual TIGL_EXPORT const std::string & GetProfileUID () const
 
virtual TIGL_EXPORT const CCPACSTransformationGetTransformation () const
 
virtual TIGL_EXPORT CCPACSTransformationGetTransformation ()
 
virtual TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetName (const std::string &value)
 
virtual TIGL_EXPORT void SetProfileUID (const std::string &value)
 
virtual TIGL_EXPORT void SetUID (const std::string &value)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSNacelleSection ()
 
- Public Member Functions inherited from tigl::CTiglReqUIDObject
boost::optional< std::string > GetObjectUID () const
 
virtual ~CTiglReqUIDObject ()=default
 
- Public Member Functions inherited from tigl::CTiglUIDObject
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 
- Public Member Functions inherited from tigl::ITiglUIDRefObject
virtual ~ITiglUIDRefObject ()=default
 

Protected Attributes

boost::optional< std::string > m_description
 Description. More...
 
std::string m_name
 Name. More...
 
CCPACSNacelleSectionsm_parent
 
std::string m_profileUID
 UID of the profile. More...
 
CCPACSTransformation m_transformation
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 

Private Member Functions

 CPACSNacelleSection (const CPACSNacelleSection &)=delete
 
 CPACSNacelleSection (CPACSNacelleSection &&)=delete
 
TIGL_EXPORT const CTiglUIDObjectGetNextUIDObject () const final
 
TIGL_EXPORT void NotifyUIDChange (const std::string &oldUid, const std::string &newUid) final
 
CPACSNacelleSectionoperator= (const CPACSNacelleSection &)=delete
 
CPACSNacelleSectionoperator= (CPACSNacelleSection &&)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 

Detailed Description

Section.

An engine nacelle is defined by sections, where at least one and up to an infinite number of sections can be specified. Lofting of the nacelle surface along the sections is done in cylindrical coordinates. The coordinate origin refers to the center of the fan , i.e. the sections and their profiles are typically shifted in negative x-direction. Note : In the current CPACS release, transformations are still labeled as Cartesian coordinates. It is current work in progress to explicitly introduce cylindrical coordinates. Until this is implemented in a future CPACS release, the implicit conventions listed below apply: Translation component Cylindrical coordinate equivalent Description x ϑ Rotation angle around x y h Horizontal translation z r Radial translation The following example illustrates the setup of a nacelle with 4 sections. These are rotated by 0, 120, 180 and 240 degrees around the x -axis (given by translation/x ). To illustrate the possible transformations, the profile of the upper section is shifted slightly further in the negative x -direction ( translation/y ), while the lower section has a smaller radial distance from the rotation axis ( translation/z ). In addition, the sections are scaled differently ( transformation/scaling ; not shown in the example figures) in order to create a straight trailing edge and to realize a flattened profile near the ground. The following example also shows the profile cut-outs due to the radially symmetric inner region of the nacelle defined by the rotationCurve . For detailed information, please refer to the documentation of the rotationCurve element.

See also
nacelle_sections The first section is not rotated ( x=ϑ=0 ), but shifted vertically in negative direction ( y=h=-0.257 ). The radial distance is given by z=r=0.365 :

<section uID="fanCowl_upperSection"> <name>Upper section</name> <transformation> <scaling> <x>1.055</x> <y>1</y> <z>1</z> </scaling> <translation> <x>0.0</x> <y>-0.257</y> <z>0.365</z> </translation> </transformation> <profileUID>fanCowlUpperSectionProfile</profileUID> </section> The second section is rotated around the x -axis ( x=ϑ=120 ) as well as scaled by a factor of 1.1 in its profile height:

<section uID="fanCowl_inboardSection"> <name>Inboard section</name> <transformation> <scaling> <x>1</x> <y>1</y> <z>1.1</z> </scaling> <translation> <x>120.0</x> <y>-0.2</y> <z>0.365</z> </translation> </transformation> <profileUID>fanCowlUpperSectionProfile</profileUID> </section> The third section is rotated around the x -axis by 180° and scaled by a factor of 0.8 in its profile height:

<section uID="fanCowl_lowerSection"> <name>Lower section</name> <transformation> <scaling> <x>1</x> <y>1</y> <z>0.8</z> </scaling> <translation> <x>180.0</x> <y>-0.2</y> <z>0.33</z> </translation> </transformation> <profileUID>fanCowlUpperSectionProfile</profileUID> </section>

Constructor & Destructor Documentation

◆ CPACSNacelleSection() [1/3]

TIGL_EXPORT tigl::generated::CPACSNacelleSection::CPACSNacelleSection ( CCPACSNacelleSections parent,
CTiglUIDManager uidMgr 
)

◆ ~CPACSNacelleSection()

virtual TIGL_EXPORT tigl::generated::CPACSNacelleSection::~CPACSNacelleSection ( )
virtual

◆ CPACSNacelleSection() [2/3]

tigl::generated::CPACSNacelleSection::CPACSNacelleSection ( const CPACSNacelleSection )
privatedelete

◆ CPACSNacelleSection() [3/3]

tigl::generated::CPACSNacelleSection::CPACSNacelleSection ( CPACSNacelleSection &&  )
privatedelete

Member Function Documentation

◆ GetDescription()

virtual TIGL_EXPORT const boost::optional<std::string>& tigl::generated::CPACSNacelleSection::GetDescription ( ) const
virtual

◆ GetName()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSNacelleSection::GetName ( ) const
virtual

◆ GetNextUIDObject()

TIGL_EXPORT const CTiglUIDObject* tigl::generated::CPACSNacelleSection::GetNextUIDObject ( ) const
finalprivatevirtual

◆ GetNextUIDParent() [1/2]

virtual TIGL_EXPORT CTiglUIDObject* tigl::generated::CPACSNacelleSection::GetNextUIDParent ( )
virtual

Implements tigl::CTiglUIDObject.

◆ GetNextUIDParent() [2/2]

virtual TIGL_EXPORT const CTiglUIDObject* tigl::generated::CPACSNacelleSection::GetNextUIDParent ( ) const
virtual

Implements tigl::CTiglUIDObject.

◆ GetParent() [1/2]

TIGL_EXPORT CCPACSNacelleSections* tigl::generated::CPACSNacelleSection::GetParent ( )

◆ GetParent() [2/2]

TIGL_EXPORT const CCPACSNacelleSections* tigl::generated::CPACSNacelleSection::GetParent ( ) const

◆ GetProfileUID()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSNacelleSection::GetProfileUID ( ) const
virtual

◆ GetTransformation() [1/2]

virtual TIGL_EXPORT const CCPACSTransformation& tigl::generated::CPACSNacelleSection::GetTransformation ( ) const
virtual

◆ GetTransformation() [2/2]

virtual TIGL_EXPORT CCPACSTransformation& tigl::generated::CPACSNacelleSection::GetTransformation ( )
virtual

◆ GetUID()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSNacelleSection::GetUID ( ) const
virtual

◆ GetUIDManager() [1/2]

TIGL_EXPORT CTiglUIDManager& tigl::generated::CPACSNacelleSection::GetUIDManager ( )
virtual

Implements tigl::CTiglUIDObject.

◆ GetUIDManager() [2/2]

TIGL_EXPORT const CTiglUIDManager& tigl::generated::CPACSNacelleSection::GetUIDManager ( ) const
virtual

Implements tigl::CTiglUIDObject.

◆ NotifyUIDChange()

TIGL_EXPORT void tigl::generated::CPACSNacelleSection::NotifyUIDChange ( const std::string &  oldUid,
const std::string &  newUid 
)
finalprivatevirtual

◆ operator=() [1/2]

CPACSNacelleSection& tigl::generated::CPACSNacelleSection::operator= ( const CPACSNacelleSection )
privatedelete

◆ operator=() [2/2]

CPACSNacelleSection& tigl::generated::CPACSNacelleSection::operator= ( CPACSNacelleSection &&  )
privatedelete

◆ ReadCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSNacelleSection::ReadCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
)
virtual

◆ SetDescription()

virtual TIGL_EXPORT void tigl::generated::CPACSNacelleSection::SetDescription ( const boost::optional< std::string > &  value)
virtual

◆ SetName()

virtual TIGL_EXPORT void tigl::generated::CPACSNacelleSection::SetName ( const std::string &  value)
virtual

◆ SetProfileUID()

virtual TIGL_EXPORT void tigl::generated::CPACSNacelleSection::SetProfileUID ( const std::string &  value)
virtual

◆ SetUID()

virtual TIGL_EXPORT void tigl::generated::CPACSNacelleSection::SetUID ( const std::string &  value)
virtual

◆ WriteCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSNacelleSection::WriteCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
) const
virtual

Field Documentation

◆ m_description

boost::optional<std::string> tigl::generated::CPACSNacelleSection::m_description
protected

Description.

◆ m_name

std::string tigl::generated::CPACSNacelleSection::m_name
protected

Name.

◆ m_parent

CCPACSNacelleSections* tigl::generated::CPACSNacelleSection::m_parent
protected

◆ m_profileUID

std::string tigl::generated::CPACSNacelleSection::m_profileUID
protected

UID of the profile.

◆ m_transformation

CCPACSTransformation tigl::generated::CPACSNacelleSection::m_transformation
protected

◆ m_uID

std::string tigl::generated::CPACSNacelleSection::m_uID
protected

◆ m_uidMgr

CTiglUIDManager* tigl::generated::CPACSNacelleSection::m_uidMgr
protected

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