Jump to content
GMS, SMS, and WMS User Forum


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by walkington

  1. Hi, I am trying to obtain a set of tidal constituents from an ADCIRC model run. It is easy enough to generate all the input and output data from the tides for the constituents in the tidal database, but these don't include the overtides. I can calculate the data I need for these but I don't know at what lat the corrections are calculated at. How does SMS choose this value as it doesn't seem to be the CPP projection lat? I can then calculate the value using T_Tide for the overtides that I want. Thanks Ian
  2. Hi, I have been trying to import .asc file data and having some trouble. It will allow me to open the file as a raster but falls over when I try as a scatter set. Having played around with this it turns out the problem is the NODATA_value line which is optional in the file spec and is happily treated as such by the raster but is required by the scatter set. You may want to make this regular between the two so that it conforms to the standard of the line being optional as my .asc file is quite large and it is taking a while to open, edit and save to add the one line. Thanks Ian
  3. It's OK. I have found the problem and fixed it. Obviously it is with my code The issue was that it was writing NaN values which I guess SMS doesn't know how to deal with. It does make it fall over though Thanks Ian
  4. Hi, I am needing to generate new grid outlines for some civil engineering works and I wrote a matlab code to convert the basic data into a map file which can be read by SMS. This used to work, ie when I first wrote it, but now I am using 11.1 it now has a rather major problem. After reading the file when I try and add a new node point it puts it at some strange point which I cannot edit without crashing the code. Has the map file format been changed since v10? Thanks Ian
  5. Hi Alan, I am importing 5 constituents and only the fort.53 file. It seems that when I load it in I can see the phase data correctly for the final constituent. In fact I can only see this data until I select the first dataset in the Harmonics section and then that is the only dataset I can see. I could upload the 2 files if you want, but the grid file is 10MB and the 53 file is 35MB. Thanks Ian
  6. Hi, Having just updated to this version I first want to say thanks for fixing the tidal data input issue, it has helped make my life, and a student's of mine, easier. However I have just tried to convert a mesh data set to a scatter set so that I can use this run to provide boundary conditions to a smaller model and found that for some reason the conversion routine now only converts the elevation dataset and the first dataset in the harmonic datasets file. There also seems to be an issue with the reading of the datasets from the fort.53 file. Although the range changes in the legend the numbers actually plotted are only the M2 values. This may of course be the reason why the scatter set conversion isn't working. Has there been an update to the fort.53 file format any time recently? I am using v46.19 of adcirc:) Thanks Ian
  7. Hi Alan, I have just restarted working with ADCIRC in earnest now the 1st semester has now finished. Yes this is still a problem. I tried saving the fort.15 file by running the model with the tidl forcing of 0. I then edited the fort.15 file by hand, which is easy as this is a simple test case but I wouldn't fancy it for a large model. However SMS complained about not having the right number of nodes in the boundary condition, which is strange because I just edited the amplitude in the tidal forcing. Also it runs happily from the command line wqith this altered file. Ian
  8. Hi, I am having more trouble than usual in entering tidal forcing data in SMS. In the v10 I have been using until recently I knew that the tidal forcing info wasn't accepted first time through and I would have to go back and enter it after a first exit. This time using v11 everytime I enter the forcing data SMS kindly wipes it for me Any suggestions? Thanks Ian
  9. Hi, Yes it is possible to compile and run padcirc on a windows machine. The only issue is that there is no real support out there on how to do it. I know of one other person who has done it, not that I am saying there is only one but I only know of one. Basically you need to check that you can compile the adcirc code first, as this is generally simple and should test that the code is written to your compiler specifications. Edit the code as needed to get it to compile. Now you need to get the mpich2 libraries and figure out how to correctly link them to the padcirc files. You also need the metis library files which you can compile using a c compiler or download from the web as a dll. Then just compile all the files for padcirc whilst linking in the mpich2 libraries. You will need the metis libraries in the adcprep routines. You will also need to compile the adcpost files. It only took me about 3 weeks to do, but it is possible. Ian
  10. Hi Rusty, Sorry for the delay in getting back to you. It was a problem with the file, which wasn't in the right format. The new version of SMS told me about the error, the old SMS 10.0.x version just hung. Still now I know I can check the file format is right if the error occurs again. Thanks for the help Ian
  11. Hi Rusty, Thanks for the reply. It would appear that Windows just stops the job. The file only reaches 20kb and then stops increasing. Windows checks for the fix and then asks if you want to debug or cancel. Cancel kills the program and I don't fancy debug:) Does this mean I can't use SMS for viewing results then? and is this a problem with the newer versions as well or just my old and creaky one? Thanks Ian
  12. Hi, I am trying to run SMS 10.0.11 on a Windows 7 64 bit machine. It runs happily until I try and load in some large(ish) datasets from the results of an adcirc run. As it is converting the file Windows decideds that the program is unresponsive and goes away to try and find a solution on web to this problem. If I press the cancel button then it closes SMS for me:( At present I can't load fort.63/fort.64 data files as the conversion to .h5 format ends up kiling the program. Any suggestions or is it just me? Thanks Ian
  13. walkington


    Hi, When I used ltea I had to use the stop and run option because it insisted that you used the US tidal database which didn't cover the UK seas I actually cheated in the end and instead of doing the initial linear run I simply grabbed the M2 tidal constiuent data and interpolated it onto the linear grid. I thought that this would give the model a better idea of the tides than the linear run. The results turned out quite nicely, although I can't remember all the details of how I did it now Hope this helps a little Ian
  14. Hi, Have you checked to see whether the inflow through the boundary is what you are specifying? I found that adcirc didn't get fluxes right for the pipeflow wier boundary condition and so it may have a problem here as well. Specify a flux that runs without the errors and then check in the results that the actual flux is what you put in. If the flux turns out to be much greater than expected then you will have to edit the code to correct this error. Hope this helps a little Ian
  15. Hi, I am running 10.0.8 so this may have been fixed but when using a large(ish) number of datasets I noticed that the naming of them in the data calculator called them {{, having run through a-z and then aa-zz. When I tried to use this dataset, {{, the calculator complained that the name {{ was not acceptable Not a huge problem as they go but quite frustrating this morning Thanks Ian
  16. walkington

    Big Grid

    Hi, Thanks for the reply. I was looking at getting a windows 7 64bit machine with a lot of ram (I think there was a machine with upto 24GB within our price region). I presume that SMS 64 bit works with windows 7? I also guess that I can if needed split the grid into two or three sections and then stitch them together if it can't handle the number of nodes that we will need. Thanks again Ian
  17. walkington

    Big Grid

    Hi, I am starting to look at the possibility of generating a large grid for use in ADCIRC simulations. Our current grid is 400k nodes and is of the west coast of the UK but we want to extend this to the European Shelf at similar resolutions which would suggest that the grid is going to be at least 1M nodes and probably quite a lot more. I am guessing that we should probably use the 64bit version of SMS for this. Is this your recomendation? Thanks Ian
  18. Hi, I would convert your elevations from the grid to a scatter set and import your new bathymetry into another scatter set. Cut a whole in your old elevation data scatter set which removes the data from the region of the new data and then combine the two datasets. You can then re-interpolate this new datset back onto the grid. This would put your new data into the old mesh whilst keeping the rest of the elevation data the same and shouldn't be that slow, unless you have a huge grid and memory issues come into play. Of course you need to remember that the grid will not be as nicely tuned to your new data and also the interpolation routines will not allow volume conservation as an option within elements. This can cause problems if you are not careful and may require some processing of your new data before you put it in to the mesh. Hope it goes well and that this may have been some help Ian
  19. Hi, If you ask on the adcirc development web page they should point you to the ftp page where they store the adcirc source code. This will probably be the latest version. Assuming that it is still the same general principle as the older code version that I am running you bascially need to compile the pre and post processing files and the padcirc (parallel adcirc code) executable on your cluster. You will need to edit the makefile to point to the relevant directories. I didn't find this straight forward so if you can get someone else to do it for you then that would make you life easier:) Of course you may enjoy sorting this sort of thing out, butI didn't:) Hope it works out well Ian
  20. Hi, Thanks Chris for this. I knew that I had seen it somewhere before:) Ian
  21. Hi, I know that this is slightly off this particular topic, but it is related. I have seen a few years ago a tutorial about how to insert one mesh into another, now of course I can't find it. I am trying to get someone else to be able to do this and I was wondering whether anyone can point me in the right direction. Thanks Ian
  22. You have probably solved this by now but when I had a problem with the ocean boundary forcing decayinh rapidly, which in my case was within a few nodes of the boundary, it was due to the fort.15 file and the grid being in different coordinate systems. I chose lat lon in one and cartesian in the other. This is bad It probably wasn't your problem but I thought I would add it here anyway Ian
  23. Hi, Thanks John for the reply. Sorry for not replying sooner but I have been off work for a month so I am only now starting to catch up Ian
  24. Hi John, Thanks for the reply. Am I right in assuming that I can use SMS to generate the grid which I can use in 3-D? I don't use SMS generally to run ADCIRC anyway so SMS being used to run/setup the model isn't such an issue, it really is generally the grid. Do you happen to know of any example/tutorial for using the ADCIRC 3-D options at all, or are these not generally supported by any ADCIRC model. I hope that this make sense:) Thanks Ian
  25. Hi, I am just wondering if anyone has used the 3D features of ADCIRC? I have read that SMS doesn't work properly with the 3D options but it does allow you to enter some of the details. Anyway is there a nice tutorial to help figure out how to get it to run properly? Same for the sediments stuff really as well? Thanks Ian
  • Create New...