Comments (10)
Hello @pvelissariou1 and @saeed-moghimi-noaa, I wanted to let you know that I was able to get the rads.64.nc to show non-zero values, by modifying the ADCIRC/src/timestep.F file. More specifically, I modified the IF stametemtn in line 698:
Adding the .OR. ABS(NRS).EQ.5 to the IF statement.
Thank you so much for your help!
Angelos
from coastalapp.
Hi @sarriegi
Please check adcirc cap, there might be a statement to overwrite that field. In that case you may comment those lines out otherwise you may dig deeper. @pvelissariou1 may have other suggestions.
Good luck,
-Saeed
from coastalapp.
@sarriegi Hi Angelos. I think that ADCIRC writes the wave data to rads.64 only when swan is compiled with adcirc (e.g., adcswan). Can you share your fort.15 file?
from coastalapp.
Thank you for your responses @saeed-moghimi-noaa and @pvelissariou1 ! I am attaching the fort.15 file.
Angelos
fort15.txt
from coastalapp.
Hello @saeed-moghimi-noaa, I found these lines that concern the rads.64.nc file:
And
Do you know what should I do? Should I uncomment the two ALLOCATE lines in the first picture? Or set the flag in the second picture? Or neither?
Angelos
from coastalapp.
@sarriegi I don't think you can achieve anything by modyfing the ADCIRC code as is. I believe that data in the rads.64 file are written when CSWAN is active (I didn't go through the code thoroughly). The file is generated but fields are not written. In your case the radiation stresses are produced outside SWAN. An approach is to dump the ESMF fields fron the NUOPC cap. Saeed has implemented a "dump" option for the exported fields. Can you look at this in the NUOPC cap?
from coastalapp.
Hello @pvelissariou1 , the only file I see a mention of rads.64 (with 'grep -R rads.64') is the write_output.F file of ADCIRC. The dump option would be in adc_cap.F90?
Angelos
from coastalapp.
@sarriegi Yes the dump option is in adc_cap.F90 and in the subroutine State_GetFldPtr_
For your radiation stresses (sxx,syy,sxy) you call in adc_cap.F90 you have:
call State_getFldPtr_(ST=importState,fldname='sxx',fldptr=dataPtr_sxx, &
rc=rc,dump=.false.,timeStr=timeStr)
Try dump=.true.
for syy and sxy stress blocks switch State_getFldPtr to State_getFldPtr_ to get the "dump" option.
Play with these to see what happens
from coastalapp.
Thank you so much!
Angelos
from coastalapp.
@sarriegi Great, thank you for letting us know.
from coastalapp.
Related Issues (20)
- CoastalApp compilation on Cheyenne fails HOT 98
- CoastalApp Compilation fails on PAHM on femto HOT 1
- --thirdparty libparmetis is not found on femto HOT 3
- #error ESMF_VERSION_MAJOR is unset or empty HOT 2
- Warning: Nonexistent include directory β/incmod/nemsioβ [-Wmissing-include-dirs]
- ADCIRC fails with gfortran on arm-darwin HOT 2
- PAHM is missing a configure.gnu.conda HOT 2
- PAHM CMake erroneously points to netcdf compiler mismatch
- Model 'atmesh' was requested, but is not available in the executable ./NEMS-schism_atmesh.x
- NEMS-schism.x has invalid internal clock on mac-darwin HOT 1
- building -tp parmetis fails on multiple platforms (Levante, femto) HOT 2
- Issue with ADCRIC mesh and prep step HOT 25
- Error while running CoastalApp in new cluster HOT 11
- UFS-Coastal/ADCIRC Inclusion: Development/Testing/Consulation HOT 4
- UFS-Coastal/SCHISM Inclusion: Development/Testing/Consulation HOT 2
- UFS-Coastal/FVCOM Inclusion: Development/Testing/Consulation HOT 6
- UFS-Coastal/WW3 Inclusion: Development/Testing/Consulation
- Error during compilation HOT 23
- Isseu when running with a specific mesh HOT 5
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 coastalapp.