Skip to content

Incompressible rotating reference frame issues #468

@koodlyakshay

Description

@koodlyakshay

Hello,
When using the rotating reference frame option with incompressible flow the code blows up immediately. There appears to be two issues -

  1. Omega_ref is not initialized in the SetNondimensionalization subroutine in solver_direct_mean_inc.cpp. In the compressible version, it is defined as Velocity_ref/Length_ref whereas no definition exists in the incompressible one.
  2. Since all the definitions of gas constants have been removed from the incompressible routines, using Mach_motion to normalize forces and moments makes them all undefined.

While both the fixes are easy, it might still lead to issues when free stream velocity is zero as Omega_ref is used to normalize grid velocities in SetRotationalVelocity.
Is it possible to implement a new config option to compute Omega_ref differently and also use it to normalize forces?

Cheers,
Akshay

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions