|
[Sponsors] |
March 27, 2014, 08:03 |
Problem with fvOptions dataEntry
|
#1 |
Member
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14 |
Hi, I'm trying to use table dataEntry in fvOptions file with MRFSource but it's not working. I'm trying to create a ramp function to increase omega with the following settings:
Code:
MRFSourceCoeffs { nonRotatingPatches (rotor_inlet pipe_outlet rotor_outlet volute_inlet shroud_front shroud_back); origin (0 0 0); axis (0 1 0); // omega -314.16; omega table ( (0 0) (200 -314.16) (12000 -314.16) ); } This however is not working and I get an unphysical solution (viscous moment is in the direction of rotation). If I use the constant value from the beginning it's working, and if I go and manually change the dataentry from table to the constant value after iteration 200 the solution jumps and viscous moment changes to the correct value. So the table entry is clearly not producing a value of -314.16 for omega after iteration 200. I suspect this is a bug, but I can't find a solution for it. |
|
March 27, 2014, 08:08 |
|
#2 |
Member
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14 |
Oh and related to this, I tried using timeActivatedFileUpdate function object as a quick fix to this to produce a step function for omega by changing the fvOptions file.
I can see the from the shell that the fvOptions file is updated correctly but the calculation is not picking up the change. So why is readifmodified not working if I use timeActivatedFileUpdate to change the file? |
|
January 10, 2017, 18:09 |
|
#3 |
New Member
Alex Cavanaugh
Join Date: Sep 2015
Location: Champaign Illinois
Posts: 5
Rep Power: 11 |
Hi Pekka,
I know I'm late to the game here, but I'm running into a similar problem. I'd like to be able to update omega as the simulation runs preferably by having the fvOptions file read from another file that calculates what omega should be based off a torque value. I was wondering if you ever came across a solution to your problem? Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] engineFoam new mesh problem | ayhan515 | OpenFOAM Meshing & Mesh Conversion | 5 | August 10, 2015 09:45 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |