|
[Sponsors] |
May 31, 2022, 10:53 |
Stream function function object and overset
|
#1 |
New Member
Join Date: Dec 2019
Posts: 13
Rep Power: 6 |
Hi everyone,
I am doing a simulation of the cavity case and want to find the location of the centre of the vortex. One way to do this is using the streamFunction function object and finding where the stream function is a minimum. I am using swak so my function looks like this: HTML Code:
streamFunction { type expressionField; autowrite true; expression "streamFunction(phi)"; fieldName streamF; } minStreamFunctionPos { type swakExpression; verbose true; outputControlMode timeStep; outputInterval 1; expression "streamF"; valueType internalField; accumulations (min); expression "minPosition(streamFunction(phi))"; } HTML Code:
FOAM FATAL ERROR: Cannot find initialisation face or a cell. From function streamFunctionPluginFunction::doEvaluation() in file streamFunctionPluginFunction.C at line 253. Any idea what might cause this, and if there is a workaround? Best regards, Vivio |
|
February 28, 2024, 06:07 |
|
#2 |
Member
|
...maybe too late for the original query but maybe it helps anyway in the future.
I just had this problem in a potentialFoam case. After some trial and error I found out that the velocity is related in my case. Switching the initial velocity to higher values is one option as it does only scale the result. The other solution is to set the wiritePrecision to a higher value. I did from 6 to 12. Worked in my case. Best regards Michael |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Overset mesh not acting as an overset mesh | JoostLinthorst | OpenFOAM Running, Solving & CFD | 0 | March 12, 2021 09:53 |
objects oscillate at high speed causing collapse in Dynamic mesh and overset mesh ca | insane | OpenFOAM Running, Solving & CFD | 0 | May 17, 2020 22:35 |
[ANSYS Meshing] 3D rotating wind turbine using overset mesh | Paku | ANSYS Meshing & Geometry | 0 | September 10, 2019 23:18 |
[ANSYS Meshing] Help with Ansys Meshing for fluent overset grid | ramkr | ANSYS Meshing & Geometry | 0 | September 7, 2019 02:03 |
Help in setting up an overset mesh | RKE | STAR-CCM+ | 1 | February 21, 2014 21:35 |