Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function velocity for precursors in Loop App #86

Closed
smpark7 opened this issue May 1, 2019 · 1 comment
Closed

Function velocity for precursors in Loop App #86

smpark7 opened this issue May 1, 2019 · 1 comment

Comments

@smpark7
Copy link
Collaborator

smpark7 commented May 1, 2019

I am trying to simulate a ULOF scenario, by exponentially coasting down the pump with a time constant of 5sec.

I first tried using u_func, v_func, w_func to define the velocities as a function of time in PrecursorAction. I got the following error:

Variable, looped precursor advection requires that variable velocity has the values uu, vv, ww set through the controls module, NOT simply specifying functions through the precursors block.

So I tried using u_def, v_def, w_def as instructed in the PrecursorAction.C file, and using the Controls module to vary the velocities with time.

[./flowControl]  
  type = RealFunctionControl  
  parameter = '*/*/u_def'
  function = nullFunc
  execute_on = 'timestep_begin'
[../]

The main input file runs fine for the first time step. But for the "sub.i" input file that I use for the Loop App (inspired by the LOSCA and LOFA problems in Moltres), I get this error:

The desired parameter '*/*/u_def' was not located for the 'flowControl' object, it either does not exist or has not been declared as controllable.

Neither LOSCA nor LOFA apply time-varying velocities to the precursor flow, so I'm not sure how to implement this.

@smpark7
Copy link
Collaborator Author

smpark7 commented May 8, 2019

This issue can be resolved by replacing */*/u_def with */*/uu in the control object.

@smpark7 smpark7 closed this as completed May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant