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

Precision of GVEC for microgravity #885

Closed
rmcdermo opened this issue Nov 8, 2019 · 5 comments
Closed

Precision of GVEC for microgravity #885

rmcdermo opened this issue Nov 8, 2019 · 5 comments

Comments

@rmcdermo
Copy link
Contributor

rmcdermo commented Nov 8, 2019

Glenn,
In the attached input file when the GVEC(3) goes from -1E-04 to 1E-05 the SMV image flips on its side. If GVEC(3)=0, the image is again correct. I suspect there is a precision issue in the logic.
BRE50_Test_1_1mm.fds.txt

Here is the result with GVEC(3)= -1E-05 (incorrect):
Screen Shot 2019-11-08 at 2 40 36 PM

Here is the result with GVEC(3)= -1E-04 (correct):
Screen Shot 2019-11-08 at 2 41 36 PM

@gforney
Copy link
Contributor

gforney commented Nov 8, 2019

I'll take a look

@gforney
Copy link
Contributor

gforney commented Nov 8, 2019

I haven't identified the problem but a work around until I do is to

  1. open up Motion/View/Render dialog box
  2. open Motion tab then click on Orientation
  3. click on "z vector up" button
  4. click on Save settings button
    It should then open up correctly from now on. Clicking on Gravity vector down button should have worked - need to figure out why it didn't

@gforney
Copy link
Contributor

gforney commented Nov 8, 2019

try smokeview here. I was computing an elevation and azimuth angle from the g vector. I needed to normalize it before doing the trig - the trig functions didn't like the small numbers

https://drive.google.com/drive/folders/0B_wB1pJL2bFQc1F4cjJWY2duWTA?usp=sharing

@rmcdermo
Copy link
Contributor Author

rmcdermo commented Nov 8, 2019

Looks like you bundled the wrong exe again.
Screen Shot 2019-11-08 at 3 52 41 PM

@rmcdermo
Copy link
Contributor Author

rmcdermo commented Nov 8, 2019

Works now. Thanks

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

No branches or pull requests

2 participants