Comments (5)
I may have misunderstood the purpose of prec_scale.
I simply wanted to apply a scaling factor in the Variables definition in PrecursorAction. This is easily applied by typing "scaling = 1e6" for example when initializing PrecursorAction.
It appears as though prec_scale does not do anything.
from moltres.
from moltres.
Thanks for your help @gridley
I think "scaling = 1e6" affects the numerical technique that you mentioned (and convergence?), and I've already implemented it.
It appears that "prec_scale" is an input parameter for PrecursorSource and PrecursorDecay kernels.
Anyway, I've (probably) solved my convergence/precision issue by applying "scaling".
I'll close this issue soon, but maybe wait for Alex to give confirmation that we're right, so that we don't confuse future users.
from moltres.
It indeed doesn't appear that prec_scale
is applied anywhere in the action. It looks like it could be used and applied when creating the PrecursorSource
and PrecursorDecay
kernels. The doc string in the action definitely appears to be wrong...it should read "The amount by which to scale precursors". Anyway I think the thought behind those parameters was potentially for unit scaling, whose goal is generally multiple in a multi-physics setting:
- Get all initial residuals for all variables in the same neighborhood as each other so that when the non-linear solve is finished you're guaranteed to have convergence in each variable
- Produce an optimally conditioned jacobian matrix. The closer "important" Jacobian entries are to each other for different variables, then the better conditioned your matrix will be and the better an iterative solver will perform
The scaling parameter in the Variables block is a bit of a dull tool that can definitely help achieve both goals. Since the documentation of the manual scaling parameters I introduced seems a bit lacking and since at first glance I don't see it doing much different than the Variables block scaling parameter, they can probably be deprecated/removed.
I'm going to be taking a back seat, and letting you guys do the Moltres development. However, if you ever want my opinion/thought on something you can definitely tag me.
from moltres.
Thank you for the clarification. I'll close this issue now.
from moltres.
Related Issues (20)
- Replace the Nt action with a more intuitive name
- Tutorial issues
- Add additional installation instructions HOT 1
- Remove deprecated MOOSE code HOT 7
- moltres_xs.py maybe not compatiable with the newest version of OpenMC
- Removing unused params
- Replace deprecated NodalMaxValue
- Fix removal cross section generation in moltres_xs.py from OpenMC data
- where is the k-eff definition? HOT 1
- Add postprocessor for calculating neutron leakage
- CIVET: 'Mirror scheduled' failure
- Make PrecursorAction compatible with velocity vector variables derived from INSAD
- Welcome to Moltres Discussions! HOT 8
- Create a CI test for building documentation HOT 1
- Rename convoluted object names for clarity
- Extend PrecursorAction to support modeling with higher order precursor variables
- Add documentation on neutron diffusion theory on the Moltres website
- Compilation issue on MacOS with clang HOT 2
- Add override keyword to computeQpOffDiagJacobian in INSBoussinesqBodyForce
- Allow users to choose among Marshak, Mark, and Milne vacuum boundary conditions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moltres.