|
[Sponsors] |
rhoCentralFoam - Issues when changing setup from symmetryPlane to full 2D geometry |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Aug 2022
Location: Mexico
Posts: 16
Rep Power: 4 ![]() |
Hello all!
I'm currently engaged in a supersonic simulation project using rhoCentralFoam. However, most tutorial cases utilize a symmetryPlane, and my simulation involves an irregular geometry that cannot be treated with symmetry. While setting up boundary conditions and names, I encounter difficulties running the case. I consistently face errors or encounter floating-point issues. Essentially, I'm aiming to conduct a simulation using a logic similar to aerofoil analysis. Could you provide guidance on how to address these challenges and make the simulation successful? Right now I'm using the forwardStep tutorial case as a base. I'm attaching a picture of the setup for reference and also a result using sonicFoam. Appreciate your assistance. My data is below: Pressure Code:
internalField uniform 1; boundaryField { inlet { type fixedValue; value uniform 1; } outlet { type zeroGradient; } bottom { type symmetryPlane; } top { type symmetryPlane; } obstacle { type zeroGradient; } defaultFaces { type empty; } } Code:
dimensions [0 0 0 1 0 0 0]; internalField uniform 1; boundaryField { inlet { type fixedValue; value uniform 1; } outlet { type inletOutlet; inletValue uniform 1; value uniform 1; } bottom { type symmetryPlane; } top { type symmetryPlane; } obstacle { type zeroGradient; } defaultFaces { type empty; } } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (3 0 0); boundaryField { inlet { type fixedValue; value uniform (7 0 0); } outlet { type inletOutlet; inletValue uniform (7 0 0); value uniform (7 0 0); } bottom { type symmetryPlane; } top { type symmetryPlane; } obstacle { type slip; } defaultFaces { type empty; } } Code:
application rhoCentralFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 4; deltaT 0.002; writeControl adjustable; writeInterval 0.1; purgeWrite 10; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; adjustTimeStep yes; maxCo 0.2; maxDeltaT 1; Code:
thermoType { type hePsiThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } // Note: these are the properties for a "normalised" inviscid gas // for which the speed of sound is 1 m/s at a temperature of 1K // and gamma = 7/5 mixture { specie { molWeight 11640.3; } thermodynamics { Cp 2.5; Hf 0; } transport { mu 0; Pr 1; } } |
|
![]() |
![]() |
![]() |
Tags |
floatingpoint, floatingpointexception, rhocentralfoam, symmetryplane |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rotor 67 full compressor geometry | jf | Main CFD Forum | 3 | January 28, 2024 05:14 |
[DesignModeler] Achieve a full annulus geometry for TG starting from a single passage one | clapaludio | ANSYS Meshing & Geometry | 4 | September 3, 2023 10:21 |
[ANSYS Meshing] Ansys geometry detecting issues. | enphal | ANSYS Meshing & Geometry | 0 | March 22, 2023 02:35 |
Changing geometry during transient simulations | julurusandeep | FLUENT | 5 | March 16, 2023 05:36 |
vitual _ real | deneb | FLUENT | 3 | January 22, 2007 04:31 |