Skip to content

Assigning thermal boundary conditions with pyTACS #325

@sethbunt

Description

@sethbunt

I'm looking into ways to assign a thermal bc with pyTACS in a HeatConduction3D(and eventually LinearThermoelasticity3D) model, but there doesn't seem to be a clear method of doing so. I'm currently attempting to add a heat flux to one face(yellow in image) of a simple 3D box mesh. My first thought was to assign a unique compID to one of the faces, but then I run into issues with having 2D and 3D components. The simulation will run, but the outputs are either zero or nan. I got it to work by using the faceIndex option with the transientProblem.addTractionToComponents function, but there doesn't seem to be a way to find out which faces will get assigned to what index. Please let me know if there is a better method of adding these bcs or if there is a way to find out how faceIndex is assigning faces.
box_mesh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions