Coder Social home page Coder Social logo

sowfa-6's Introduction

All of these files compose the current version of the SOWFA (Simulator for 
Offshore Wind Farm Applications), created at the National Renewable Energy 
Laboratory (NREL).  The files are based on the OpenFOAM software and are 
either new files or modifications of files in the OpenFOAM source code 
distribution. Please see the included OpenFOAM readme file 
("README.OpenFOAM") and the GPL licence information ("COPYING"). Access
to and use of SOWFA imposes obligations on the user, as set forth in the 
NWTC Design Codes DATA USE DISCLAIMER AGREEMENT that can be found at
<https://nwtc.nrel.gov/disclaimer>.



Required OpenFOAM Version:  6
Optional OpenFAST Version:  dev



This is a placeholder for a stable version of SOWFA meant to work with 
OpenFOAM-6.  We are currently developing this code on the 'dev' branch
of this repository.  If you would like to check it out, please checkout
that branch and explore.  SOWFA-6 will work with OpenFOAM-6, will contain
one unified solver, and will generally be improved.

sowfa-6's People

Contributors

ewquon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sowfa-6's Issues

build the solver of SOWFA coupled potential flow solver(similar openFAST)

hello, every one, I want to build a solver similar with the solvers SOWFA coupled OpenFAST(pisoFoamTurbine.ALMAdvancedOpenFAST), now, I have my solvers similar with openFAST, but I don not know how to couple my solver with the SOWFA, so I really need some suggestions, I really need you help!!

very thank you!!

Change handling of source terms in a many-levels domain

The source terms get read before they are interpolated onto all the different levels (heights) of the new grid. In the reading routine, it computes all the levels present in the grid. That is usually not a problems because we do simple grids with flat boundaries, resulting only in a handful of levels (which was even recently improved by PR #26).

The problem, however, arises when using any complex geometry as the bottom boundary, resulting in LOTS of different levels. The solver hangs in the computation of those levels, during zPlanes_.initialize(), which triggers zPlanes_(mesh_). I let the solver run for over a day and it did not get past that call.

superDeliciousVanilla doesn't compile without OpenFAST

The combined solver requires OpenFAST to compile, which was not the case for previous commits of SOFWA-6.
If OpenFAST is not compiled, we get the following error.

"/home/mehtabkhan/OpenFOAM/SOWFA-6/src/turbineModels/turbineModelsOpenFAST/lnInclude/horizontalAxisWindTurbinesALMOpenFAST.H:69:10: fatal error: OpenFAST.H: No such file or directory"
Also, the standard turbine models are not available anymore; only ALMOpenFAST is possible with the latest SOWFA-6 commit.

Question about the relationship between turbineArrayProPerties and *.dat

In SOWFA, the parameters of turbine properties(such as NacYaw, RotSpeed) is set in constant/turbineArrayProperties, but what are their relationship between the same parameters in the ServoDyn.dat or ElastoDyn.dat or other *.dat of OpenFAST? Which one actually determines these values?
Also, the turbine outputs(for example, RotSpeed) in postProcessing/turbineOutput and *.out of OpenFAST, which one should be considered as a result of the calculation?
Thank you in advance for any responses!

Using fvOptions in the actuator line implementation

This is more of a technical question, but I'm curious why the actuator line model was implemented as a new solver instead of utilizing the fvOptions feature. Was this decision influenced by version-related issues? Or does the fvOptions implementation have computational penalties that make adding it to the solver more efficient?

clone nothing in SOWFA-6

Hi ereryone!
I am just learning sowfa and openfoam, I saw sowfa-6 that can work with openfoam-6, and I successed to install openfoam-6,but when I wanted to clone SOWFA-6,I got nothing in the dir. So could anyone help me to solve this problem?

Thanks for your help!!!!

Feature-Request

Dear @mchurchf @DriesAllaerts @ewquon ,

I wanted to ask for your permission/assent on whether I can transfer some of the methods/functionalities from your SOWFA work (by acknowledging you wherever possible) into the official OpenFOAM development line (OpenFOAM v2006-v2012, and so on [openfoam.com variant]).

I am aware of the fact that OpenFOAM licence allows users to use/modify codes without requesting any approval, yet I always contact the real contributors first.

I would greatly appreciate your feedback.

Many thanks for your time.

Kutalmis

ABL front drive simulation error in sowfa-6

In sowfa-6 ABL precursor simulation is split into tut.ABLflatTerrain.precursor and tut.ABLflatTerrain.run. I have successfully run tut.ABLflatTerrain.precursor; but after running script 1_preprocess in tut.ABLflatTerrain.run two errors were reported . The errors are

--> FOAM FATAL IO ERROR:
keyword type is undefined in dictionary "/public21/home/sc94363/openfoam6/run/2/constant/ABLProperties.momentumSource"
file: /public21/home/sc94363/openfoam6/run/2/constant/ABLProperties.momentumSource
From function const Foam::entry &Foam::dictionary::lookupEntry(const Foam::word &, bool, bool) const
in file db/dictionary/dictionary.C at line 566.
FOAM exiting

And

FOAM FATAL ERROR:
Attempt to cast type patch to type lduInterface
From function To &Foam::refCast(From &) [with To = const Foam::lduInterface, From = const Foam::fvPatch]
in file /public1/soft/openfoam/OpenFOAM-6/src/OpenFOAM/lnInclude/typeInfo.H at line 114.
FOAM parallel run aborting

Error 1 is that I don't see the "given" function in tut.ABLflatTerrain.precursor, but it is required in tut.ABLflatTerrain.run. I'm not sure what I'm doing wrong there. Error 2 is in the log.1.renumberMesh file after tut.ABLflatTerrain.run is run.
I look forward to replies and hope to get help and answers.

Generalize surface BC for temperature

Would like a specified heat flux and temperature history with switch to indicate which BC mode should be used at any time during the simulation, in the same manner as implemented within Nalu-wind by @mchurchf.

OpenFOAM 6 with SOWFA 6 via Spack?

Hey, folks. I'm neither an OpenFOAM nor a SOWFA user, but I'm trying to get both installed on our HPC running Rocky and Spack, and as an intermedia step, I'm trying to install it on a Vagrant VM to iterate more quickly.

The Vagrantfile I'm using:

Vagrant.configure("2") do |config|
  config.vm.box = "rockylinux/8"
  config.vm.box_version = "4.0"

  config.vm.provider "virtualbox" do |vb|
    vb.memory = "16384"
    vb.cpus = 4
  end
  config.vm.provision "shell", inline: <<-SHELLPRIV
    yum -y remove 'iwl*'
    yum -y update
    yum -y install redhat-lsb-core git gcc-c++ gcc-gfortran python3
  SHELLPRIV
  config.vm.provision "shell", privileged: false, inline: <<-SHELLUNPRIV
    git clone -c feature.manyFiles=true https://github.com/spack/spack.git
    git clone https://github.com/NREL/SOWFA-6.git
    ( cd SOWFA-6 ; git checkout dev )
    . spack/share/spack/setup-env.sh
    spack compiler find
    spack install -j4 openfoam-org@6
  SHELLUNPRIV
  # Spack for pmix needs Python, not listed as dependency
end

After logging back in as the vagrant user and loading the spack settings via sourcing spack/share/spack/setup-env.sh, I try to run Allwclean and Allwmake from the SOWFA-6 directory.

Allwclean returns:

wclean src/miscTools
wclean src/TurbulenceModels/incompressible
wclean src/TurbulenceModels/turbulenceModels
wclean src/boundaryConditions
OPENFAST_DIR is not set. Not cleaning OpenFAST interface.
wclean src/meshTools
wclean src/ABLForcing
wclean src/sampling
wclean src/fileFormats
wclean src/functionObjects/field
wclean src/functionObjects/utilities
wclean applications/utilities/setFieldsABL
wclean applications/solvers/superDeliciousVanilla
OPENFAST_DIR is not set. Not cleaning OpenFASTcoupled solver.

which I don't think is a problem, while Allwmake returns:

wmake src/miscTools
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file geometricTransformations.C
Making dependency list for source file windRoseToCartesian.C
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -Wl,-rpath,/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/lib -DNoRepository -ftemplate-depth-100 -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/meshTools/lnInclude -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/OpenFOAM/lnInclude -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/OSspecific/POSIX/lnInclude   -fPIC -c windRoseToCartesian/windRoseToCartesian.C -o Make/linux64GccDPInt32-spack/windRoseToCartesian/windRoseToCartesian.o
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -Wl,-rpath,/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/lib -DNoRepository -ftemplate-depth-100 -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/meshTools/lnInclude -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/OpenFOAM/lnInclude -I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src/OSspecific/POSIX/lnInclude   -fPIC -c geometricTransformations/geometricTransformations.C -o Make/linux64GccDPInt32-spack/geometricTransformations/geometricTransformations.o
mkdir: cannot create directory ‘’: No such file or directory
make: *** [/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/wmake/makefiles/general:167: /libSOWFAmiscTools.so] Error 1

and this pattern repeats for several other wmake commands. Line 167 is @$(WM_SCRIPTS)/makeTargetDir $(LIB) and line 80 defines LIB = libNULL, but that value must have been overridden somewhere before line 167.

What other information can I provide to help figure out what's going on? My current environment variables via export are:

declare -x ACLOCAL_PATH="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/util-macros-1.19.3-cbg6rwljtnw4ks7momqiypu4antmqxlv/share/aclocal:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libtool-2.4.7-uv6utq5fcsoxoq67hdqj6domvomgzsgc/share/aclocal:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/gettext-0.21-rvdrywf34tw757crvxseh7vfs42insur/share/aclocal:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libxml2-2.9.13-fh4iwewj76yykzxyefgorzldzy557a2t/share/aclocal:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/bison-3.8.2-fexlv7zu4g5qlllgafsc3ob2qpkmrwft/share/aclocal:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/automake-1.16.5-ztu2zzdcr32japl4jd5gichynwa6mggi/share/aclocal:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/cmake-3.23.3-rlboixbp3tv2lr26cxvgoaq7dr2ugwgz/share/aclocal:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pkgconf-1.8.0-os7jljyxz37e4ni4zi67xwo6k5e2ivkj/share/aclocal"
declare -x CMAKE_PREFIX_PATH="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/scotch-7.0.1-fldpglss2xejvz6sr4ajddbboq63iv3m:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pmix-4.1.2-qeczppkrcnyzcjdbhxtyax2bpuaxmwbz:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libevent-2.1.12-mtro3r6zg3ok4gjom7v2qaxc3ehthmgx:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openssh-9.0p1-thdbknwgmojuf7sdhxspchomfkxh6r2z:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libedit-3.1-20210216-2xle4h4epawrbhxfxt5eq5n63bfosycn:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/krb5-1.19.3-bevzzjbflfsi6busqr3eu7vweidtjz2n:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/numactl-2.0.14-h2m5lu5karad2t4dmbncpazkwf2rmvhb:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/hwloc-2.8.0-hdzs5uenwyrkk3jrcd2cd2qzpgxvccff:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libpciaccess-0.16-oy7evzedaypskacv3fxthcmhp6rvzymy:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/util-macros-1.19.3-cbg6rwljtnw4ks7momqiypu4antmqxlv:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/flex-2.6.4-5y2uye7ko2p6u6qyywcdecm7ijj7qmcm:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libtool-2.4.7-uv6utq5fcsoxoq67hdqj6domvomgzsgc:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/help2man-1.47.16-jm6xhcbjozgvqaphc6soyjb33ofgmvwx:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/gettext-0.21-rvdrywf34tw757crvxseh7vfs42insur:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/tar-1.34-4ijsvxdefkdjdyeod57hwegg6emmmle5:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/zstd-1.5.2-wsfzoxluyzq2s6c463tj4qfltfjiwl2v:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pigz-2.7-zhfs2i7674sapcllgjgcauh73euc5ovi:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libxml2-2.9.13-fh4iwewj76yykzxyefgorzldzy557a2t:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/xz-5.2.5-jqegoncucvxcryk4t3ay4cqfgl4yp5um:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/findutils-4.9.0-xuppk3u3bcwjxurcahunhvvr63f4it73:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/bison-3.8.2-fexlv7zu4g5qlllgafsc3ob2qpkmrwft:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/automake-1.16.5-ztu2zzdcr32japl4jd5gichynwa6mggi:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/autoconf-2.69-zt4tcsx45jrkkqllohozvc7mu4gri7bl:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/m4-1.4.19-3qjci5fw4vi5bq4mm2dopfjclz7aczu6:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libsigsegv-2.13-g3g26ugiy2oudh4pzlbpepf4ahvgihdw:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/cmake-3.23.3-rlboixbp3tv2lr26cxvgoaq7dr2ugwgz:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openssl-1.1.1q-66n75bdhfn77yrujghu36wgxn6zypl2k:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/perl-5.34.1-ngplx3jzbydjcfh25ipta5vsuct64tmb:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/zlib-1.2.12-7m2fsilyutgiiyblyy6yd2tcpib4cvds:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/gdbm-1.19-lvevadigsoqfzobcvsic5idn57dvt74k:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/readline-8.1.2-rh7upcssc5pmgitoijytsqa64hwiiqlr:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/bzip2-1.0.8-crujvlcawmzyti2vjlazyp7zfmko5my5:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/diffutils-3.8-omdg6cusi57u4g3c5fquyiphfj4mictx:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libiconv-1.16-i6cnkc73c3uvx6gu3jnosrtbiadurhqz:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/berkeley-db-18.1.40-2gie7vuqjqzr2vay3dotfyxrnwupufaw:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/ca-certificates-mozilla-2022-07-19-yvgly67hrhryzg7vstjyhuvqhxtu44yp:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/ncurses-6.3-mdk4c7oyvvfn5jn3jwtuqphqjudoacmr:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pkgconf-1.8.0-os7jljyxz37e4ni4zi67xwo6k5e2ivkj"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
declare -x FOAM_APP="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/applications"
declare -x FOAM_APPBIN="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/bin"
declare -x FOAM_ETC="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/etc"
declare -x FOAM_EXT_LIBBIN="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/ThirdParty/platforms/linux64GccDPInt32/lib"
declare -x FOAM_INST_DIR="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0"
declare -x FOAM_JOB_DIR="/home/vagrant/.OpenFOAM/jobControl"
declare -x FOAM_LIBBIN="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/lib"
declare -x FOAM_MPI="mpi-system"
declare -x FOAM_RUN="/home/vagrant/OpenFOAM/vagrant-6/run"
declare -x FOAM_SETTINGS=""
declare -x FOAM_SIGFPE=""
declare -x FOAM_SITE_APPBIN="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/site/6/platforms/linux64GccDPInt32-spack/bin"
declare -x FOAM_SITE_LIBBIN="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/site/6/platforms/linux64GccDPInt32-spack/lib"
declare -x FOAM_SOLVERS="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/applications/solvers"
declare -x FOAM_SRC="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/src"
declare -x FOAM_TUTORIALS="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/tutorials"
declare -x FOAM_USER_APPBIN="/home/vagrant/OpenFOAM/vagrant-6/platforms/linux64GccDPInt32-spack/bin"
declare -x FOAM_USER_LIBBIN="/home/vagrant/OpenFOAM/vagrant-6/platforms/linux64GccDPInt32-spack/lib"
declare -x FOAM_UTILITIES="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/applications/utilities"
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="1000"
declare -x HOME="/home/vagrant"
declare -x HOSTNAME="localhost.localdomain"
declare -x LANG="en_US.UTF-8"
declare -x LD_LIBRARY_PATH="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/lib/mpi-system:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/ThirdParty/platforms/linux64GccDPInt32/lib/mpi-system:/home/vagrant/OpenFOAM/vagrant-6/platforms/linux64GccDPInt32-spack/lib:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/site/6/platforms/linux64GccDPInt32-spack/lib:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/lib:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/ThirdParty/platforms/linux64GccDPInt32/lib:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/lib/dummy"
declare -x LESSOPEN="||/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="vagrant"
declare -x LS_COLORS="rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:"
declare -x M4="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/m4-1.4.19-3qjci5fw4vi5bq4mm2dopfjclz7aczu6/bin/m4"
declare -x MAIL="/var/spool/mail/vagrant"
declare -x MANPATH="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/scotch-7.0.1-fldpglss2xejvz6sr4ajddbboq63iv3m/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pmix-4.1.2-qeczppkrcnyzcjdbhxtyax2bpuaxmwbz/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openssh-9.0p1-thdbknwgmojuf7sdhxspchomfkxh6r2z/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libedit-3.1-20210216-2xle4h4epawrbhxfxt5eq5n63bfosycn/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/krb5-1.19.3-bevzzjbflfsi6busqr3eu7vweidtjz2n/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/numactl-2.0.14-h2m5lu5karad2t4dmbncpazkwf2rmvhb/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/hwloc-2.8.0-hdzs5uenwyrkk3jrcd2cd2qzpgxvccff/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/flex-2.6.4-5y2uye7ko2p6u6qyywcdecm7ijj7qmcm/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libtool-2.4.7-uv6utq5fcsoxoq67hdqj6domvomgzsgc/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/help2man-1.47.16-jm6xhcbjozgvqaphc6soyjb33ofgmvwx/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/gettext-0.21-rvdrywf34tw757crvxseh7vfs42insur/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/tar-1.34-4ijsvxdefkdjdyeod57hwegg6emmmle5/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/zstd-1.5.2-wsfzoxluyzq2s6c463tj4qfltfjiwl2v/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pigz-2.7-zhfs2i7674sapcllgjgcauh73euc5ovi/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libxml2-2.9.13-fh4iwewj76yykzxyefgorzldzy557a2t/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/xz-5.2.5-jqegoncucvxcryk4t3ay4cqfgl4yp5um/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/findutils-4.9.0-xuppk3u3bcwjxurcahunhvvr63f4it73/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/bison-3.8.2-fexlv7zu4g5qlllgafsc3ob2qpkmrwft/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/automake-1.16.5-ztu2zzdcr32japl4jd5gichynwa6mggi/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/autoconf-2.69-zt4tcsx45jrkkqllohozvc7mu4gri7bl/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/m4-1.4.19-3qjci5fw4vi5bq4mm2dopfjclz7aczu6/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/perl-5.34.1-ngplx3jzbydjcfh25ipta5vsuct64tmb/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/zlib-1.2.12-7m2fsilyutgiiyblyy6yd2tcpib4cvds/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/gdbm-1.19-lvevadigsoqfzobcvsic5idn57dvt74k/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/readline-8.1.2-rh7upcssc5pmgitoijytsqa64hwiiqlr/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/bzip2-1.0.8-crujvlcawmzyti2vjlazyp7zfmko5my5/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/diffutils-3.8-omdg6cusi57u4g3c5fquyiphfj4mictx/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libiconv-1.16-i6cnkc73c3uvx6gu3jnosrtbiadurhqz/share/man:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pkgconf-1.8.0-os7jljyxz37e4ni4zi67xwo6k5e2ivkj/share/man:"
declare -x MODULEPATH="/home/vagrant/spack/share/spack/modules/linux-rocky8-sandybridge"
declare -x MPICC="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/bin/mpicc"
declare -x MPICXX="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/bin/mpic++"
declare -x MPIF77="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/bin/mpif77"
declare -x MPIF90="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/bin/mpif90"
declare -x MPI_ARCH_FLAGS="-DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX"
declare -x MPI_ARCH_INC="-I/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/include"
declare -x MPI_ARCH_LIBS="-L/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/lib -lmpi"
declare -x MPI_ARCH_PATH="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf"
declare -x MPI_BUFFER_SIZE="20000000"
declare -x MPI_ROOT="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf"
declare -x OLDPWD="/home/vagrant"
declare -x PATH="/home/vagrant/OpenFOAM/vagrant-6/platforms/linux64GccDPInt32-spack/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/site/6/platforms/linux64GccDPInt32-spack/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/platforms/linux64GccDPInt32-spack/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/wmake:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/scotch-7.0.1-fldpglss2xejvz6sr4ajddbboq63iv3m/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pmix-4.1.2-qeczppkrcnyzcjdbhxtyax2bpuaxmwbz/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libevent-2.1.12-mtro3r6zg3ok4gjom7v2qaxc3ehthmgx/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openssh-9.0p1-thdbknwgmojuf7sdhxspchomfkxh6r2z/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/krb5-1.19.3-bevzzjbflfsi6busqr3eu7vweidtjz2n/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/numactl-2.0.14-h2m5lu5karad2t4dmbncpazkwf2rmvhb/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/hwloc-2.8.0-hdzs5uenwyrkk3jrcd2cd2qzpgxvccff/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/flex-2.6.4-5y2uye7ko2p6u6qyywcdecm7ijj7qmcm/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libtool-2.4.7-uv6utq5fcsoxoq67hdqj6domvomgzsgc/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/help2man-1.47.16-jm6xhcbjozgvqaphc6soyjb33ofgmvwx/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/gettext-0.21-rvdrywf34tw757crvxseh7vfs42insur/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/tar-1.34-4ijsvxdefkdjdyeod57hwegg6emmmle5/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/zstd-1.5.2-wsfzoxluyzq2s6c463tj4qfltfjiwl2v/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pigz-2.7-zhfs2i7674sapcllgjgcauh73euc5ovi/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libxml2-2.9.13-fh4iwewj76yykzxyefgorzldzy557a2t/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/xz-5.2.5-jqegoncucvxcryk4t3ay4cqfgl4yp5um/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/findutils-4.9.0-xuppk3u3bcwjxurcahunhvvr63f4it73/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/bison-3.8.2-fexlv7zu4g5qlllgafsc3ob2qpkmrwft/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/automake-1.16.5-ztu2zzdcr32japl4jd5gichynwa6mggi/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/autoconf-2.69-zt4tcsx45jrkkqllohozvc7mu4gri7bl/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/m4-1.4.19-3qjci5fw4vi5bq4mm2dopfjclz7aczu6/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/cmake-3.23.3-rlboixbp3tv2lr26cxvgoaq7dr2ugwgz/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openssl-1.1.1q-66n75bdhfn77yrujghu36wgxn6zypl2k/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/perl-5.34.1-ngplx3jzbydjcfh25ipta5vsuct64tmb/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/gdbm-1.19-lvevadigsoqfzobcvsic5idn57dvt74k/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/readline-8.1.2-rh7upcssc5pmgitoijytsqa64hwiiqlr/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/bzip2-1.0.8-crujvlcawmzyti2vjlazyp7zfmko5my5/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/diffutils-3.8-omdg6cusi57u4g3c5fquyiphfj4mictx/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libiconv-1.16-i6cnkc73c3uvx6gu3jnosrtbiadurhqz/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/berkeley-db-18.1.40-2gie7vuqjqzr2vay3dotfyxrnwupufaw/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/ncurses-6.3-mdk4c7oyvvfn5jn3jwtuqphqjudoacmr/bin:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pkgconf-1.8.0-os7jljyxz37e4ni4zi67xwo6k5e2ivkj/bin:/home/vagrant/spack/bin:/home/vagrant/.local/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"
declare -x PKG_CONFIG_PATH="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openmpi-4.1.4-pxrvymyorqh7qxi4jrwmchi2yuuq4agf/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pmix-4.1.2-qeczppkrcnyzcjdbhxtyax2bpuaxmwbz/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libevent-2.1.12-mtro3r6zg3ok4gjom7v2qaxc3ehthmgx/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libedit-3.1-20210216-2xle4h4epawrbhxfxt5eq5n63bfosycn/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/krb5-1.19.3-bevzzjbflfsi6busqr3eu7vweidtjz2n/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/numactl-2.0.14-h2m5lu5karad2t4dmbncpazkwf2rmvhb/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/hwloc-2.8.0-hdzs5uenwyrkk3jrcd2cd2qzpgxvccff/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libpciaccess-0.16-oy7evzedaypskacv3fxthcmhp6rvzymy/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/util-macros-1.19.3-cbg6rwljtnw4ks7momqiypu4antmqxlv/share/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/zstd-1.5.2-wsfzoxluyzq2s6c463tj4qfltfjiwl2v/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/libxml2-2.9.13-fh4iwewj76yykzxyefgorzldzy557a2t/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/xz-5.2.5-jqegoncucvxcryk4t3ay4cqfgl4yp5um/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openssl-1.1.1q-66n75bdhfn77yrujghu36wgxn6zypl2k/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/zlib-1.2.12-7m2fsilyutgiiyblyy6yd2tcpib4cvds/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/readline-8.1.2-rh7upcssc5pmgitoijytsqa64hwiiqlr/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/ncurses-6.3-mdk4c7oyvvfn5jn3jwtuqphqjudoacmr/lib/pkgconfig:/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/pkgconf-1.8.0-os7jljyxz37e4ni4zi67xwo6k5e2ivkj/lib/pkgconfig"
declare -x PWD="/home/vagrant/SOWFA-6"
declare -x SELINUX_LEVEL_REQUESTED=""
declare -x SELINUX_ROLE_REQUESTED=""
declare -x SELINUX_USE_CURRENT_RANGE=""
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SPACK_LOADED_HASHES="wqswyfp3himrawavuaf4oassytyn7mf2:fldpglss2xejvz6sr4ajddbboq63iv3m:pxrvymyorqh7qxi4jrwmchi2yuuq4agf:qeczppkrcnyzcjdbhxtyax2bpuaxmwbz:mtro3r6zg3ok4gjom7v2qaxc3ehthmgx:thdbknwgmojuf7sdhxspchomfkxh6r2z:2xle4h4epawrbhxfxt5eq5n63bfosycn:bevzzjbflfsi6busqr3eu7vweidtjz2n:h2m5lu5karad2t4dmbncpazkwf2rmvhb:hdzs5uenwyrkk3jrcd2cd2qzpgxvccff:oy7evzedaypskacv3fxthcmhp6rvzymy:cbg6rwljtnw4ks7momqiypu4antmqxlv:5y2uye7ko2p6u6qyywcdecm7ijj7qmcm:uv6utq5fcsoxoq67hdqj6domvomgzsgc:jm6xhcbjozgvqaphc6soyjb33ofgmvwx:rvdrywf34tw757crvxseh7vfs42insur:4ijsvxdefkdjdyeod57hwegg6emmmle5:wsfzoxluyzq2s6c463tj4qfltfjiwl2v:zhfs2i7674sapcllgjgcauh73euc5ovi:fh4iwewj76yykzxyefgorzldzy557a2t:jqegoncucvxcryk4t3ay4cqfgl4yp5um:xuppk3u3bcwjxurcahunhvvr63f4it73:fexlv7zu4g5qlllgafsc3ob2qpkmrwft:ztu2zzdcr32japl4jd5gichynwa6mggi:zt4tcsx45jrkkqllohozvc7mu4gri7bl:3qjci5fw4vi5bq4mm2dopfjclz7aczu6:g3g26ugiy2oudh4pzlbpepf4ahvgihdw:rlboixbp3tv2lr26cxvgoaq7dr2ugwgz:66n75bdhfn77yrujghu36wgxn6zypl2k:ngplx3jzbydjcfh25ipta5vsuct64tmb:7m2fsilyutgiiyblyy6yd2tcpib4cvds:lvevadigsoqfzobcvsic5idn57dvt74k:rh7upcssc5pmgitoijytsqa64hwiiqlr:crujvlcawmzyti2vjlazyp7zfmko5my5:omdg6cusi57u4g3c5fquyiphfj4mictx:i6cnkc73c3uvx6gu3jnosrtbiadurhqz:2gie7vuqjqzr2vay3dotfyxrnwupufaw:yvgly67hrhryzg7vstjyhuvqhxtu44yp:mdk4c7oyvvfn5jn3jwtuqphqjudoacmr:os7jljyxz37e4ni4zi67xwo6k5e2ivkj"
declare -x SPACK_PYTHON="/usr/bin/python3"
declare -x SPACK_ROOT="/home/vagrant/spack"
declare -x SSH_AUTH_SOCK="/tmp/ssh-Z6U2mPJD7E/agent.2092"
declare -x SSH_CLIENT="10.0.2.2 51143 22"
declare -x SSH_CONNECTION="10.0.2.2 51143 10.0.2.15 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="xterm-256color"
declare -x USER="vagrant"
declare -x WM_ARCH="linux64"
declare -x WM_ARCH_OPTION="64"
declare -x WM_CC="gcc"
declare -x WM_CFLAGS="-m64 -fPIC"
declare -x WM_COMPILER="Gcc"
declare -x WM_COMPILER_LIB_ARCH="64"
declare -x WM_COMPILER_TYPE="system"
declare -x WM_COMPILE_OPTION="-spack"
declare -x WM_CXX="g++"
declare -x WM_CXXFLAGS="-m64 -fPIC -std=c++0x"
declare -x WM_DIR="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/wmake"
declare -x WM_LABEL_OPTION="Int32"
declare -x WM_LABEL_SIZE="32"
declare -x WM_LDFLAGS="-m64"
declare -x WM_LINK_LANGUAGE="c++"
declare -x WM_MPLIB="SYSTEMMPI"
declare -x WM_OPTIONS="linux64GccDPInt32-spack"
declare -x WM_OSTYPE="POSIX"
declare -x WM_PRECISION_OPTION="DP"
declare -x WM_PROJECT="OpenFOAM"
declare -x WM_PROJECT_DIR="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2"
declare -x WM_PROJECT_INST_DIR="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0"
declare -x WM_PROJECT_USER_DIR="/home/vagrant/OpenFOAM/vagrant-6"
declare -x WM_PROJECT_VERSION="6"
declare -x WM_THIRD_PARTY_DIR="/home/vagrant/spack/opt/spack/linux-rocky8-sandybridge/gcc-8.5.0/openfoam-org-6-wqswyfp3himrawavuaf4oassytyn7mf2/ThirdParty"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SESSION_ID="5"
declare -x _sp_initializing
declare -x which_declare="declare -f"

vtkStructured Writer Scrambling Data

The vtkStructured writer does not write the field data in the correct order. Although the points to be sampled are ordered the correct way, the actual writing happens based on processor decomposition. It seems that once the data is sent to the master processor, it should be resorted.

Question about kEqnABL turbulence model

Hi,

I was looking at the kEqnABL turbulence model and noticed that there is a factor of 2 in the diffusion term compare with the original kEqn model.

After reading Moeng's (1984) paper, I didn't find this particularity in the paper.

Do you have a suggestion about a reference showing where this factor come from?

Thank you very much for your time and consideration.

Regards,

Are there any ways to reduce memory usage when running turbine simulation (coupled with OpenFAST)?

Hello,
I am working on a large wind farm simulation (100 of IEA 15MW) which required a large flow domain. The number of cells is approximately 280 million, and I use the same mesh resolution for the precursor and wind farm simulation.

The precursor simulation could be simulated without any problem.
However, when shifting to the wind farm simulation using actuator disk model (lineToDiskGaussian3D), the memory usage increased continuously and, eventually, it run out of memory.

For instance, I plan to run the wind farm simulation for a period of 7200 seconds simulation time. But the job on HPC got killed due to out of memory at around 1800 seconds.

I tried reducing the number of output files in the turbineOutput dir to reduce fileIO such as those blade-point and tower-point outputs (commented out those lines in horizontalAxisWindTurbinesALMOpenFAST.C). But it didn't help much.

With the limited RAM on the HPC, I would like to ask if there are any ways to reduce the memory usage when running with OpenFAST coupling?

Thank you very much for your help.
Regards,
Warit

Problem in setting divSchemes 'Gauss localBlended linear upwind'

I tried to run the case tut.ABLflatTerrain.precursor in /exampleCases, but when I ran superDeliciousVanilla as split run to get to developed-flow stage, error occured:

Starting time loop
Courant Number mean: 0.26680022187 max: 0.283251178581
deltaT = 1.19047619048
Time Step = 1, Time = 0 to 1.19047619048 s

Predictor
<U_1> = (8 -2.58700715171e-17 0) <U_s> = (8 -9.70127681891e-18 0) <dU/dn> = (1.60014091459e-13 5.04011647232e-18 0)
[0]
[0]
[0] --> FOAM FATAL ERROR:
[0]
request for surfaceScalarField UBlendingFactor from objectRegistry region0 failed
available objects of type surfaceScalarField are

3
(
ghf
phi
buoyancyTerm
)

The only modification I made was about cores and number of cells.

After some tests I found that the problem is about divSchemes in system/fvSchemes. As long as the dicSchemes of U,T is set
div(phi,U) Gauss localBlended linear upwind;
this problem of UBlendingFactor would occur.
If set to Gauss linear, this case could run normally.
Is 'Gauss localBlended linear upwind' a unique divScheme of SOWFA? How to successfully use it?

How to use turbineModelsStandard in SOWFA-6?

I tried to use turbineModelsStandard without OpenFAST, and noticed that "wmake src/turbineModels/turbineModelsStandard" was commented out in Allwmake, but even if the comment was removed and the program was recompiled, the following error still occurred(turbineArrayProperties was copied from ./exampleCases/example.NREL5MW.ALMAdvancedFAST8/constant/turbineArrayProperties.nonFAST8):

[2] --> FOAM FATAL IO ERROR:
[2] keyword FASTInputFileName is undefined in dictionary "IOstream.turbine0"
[2]
[2] file: IOstream.turbine0 from line 0 to line 0.
[2]
[2] From function const Foam::entry &Foam::dictionary::lookupEntry(const Foam::word &, bool, bool) const
[2] in file db/dictionary/dictionary.C at line 566.

Does that mean SOWFA-6 only retain turbineModelsOpenFAST in turbine models, and ALM or ALMAdvanced without OpenFAST can not be used in SOWFA-6? Or is there another way?
Thanks!

`wrftoof` does not handle multi-day sets

Let dateref='2010-05-15_22_00_00' and wrfout files up to 2010-05-16_01_00_00. When calling wrfout with the intent of 2010-05-15_22_00_00 being time 0 and 2010-05-16_01_00_00 being time 10800, wrfout does not compute the 1AM time correctly. Is assumes all times are within the same day, so 2010-05-16_01_00_00 is interpreted as 2010-05-15_01_00_00 and thus a negative time from our reference 2010-05-15_22_00_00. This results in a crash.

Running tut.ABLflatTerrain.precursor arithmetic and running 2_solve reported an error

Running tut.ABLflatTerrain.precursor arithmetic and running 2_solve reported an error.The terminal displays as shown

./2_solve: line 3: OpenFOAM-6-dev-central: command not found
Job killed (1)
./2_solve: line 15: scancel: command not found
Case not reconstructed and first time of boundaryData not fixed. Check if endTime dir exists.
ls: cannot access 'postProcessing/boundaryData/north': No such file or directory
ls: cannot access 'postProcessing/boundaryData/south': No such file or directory
ls: cannot access 'postProcessing/boundaryData/east': No such file or directory
ls: cannot access 'postProcessing/boundaryData/west': No such file or directory

The log. 2. decomposePar file displays as follows:
--> FOAM Warning :
From function void* Foam::dlOpen(const Foam::fileName&, bool)
in file POSIX.C at line 1234
dlopen error : libSOWFAincompressibleTurbulenceModels.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105
could not load "libSOWFAincompressibleTurbulenceModels.so"

I would greatly appreciate it if you could tell me where the mistake was or how to adjust it.
Thanks.

Question about SchumannGrotzbach surface stress model

Hi!

First of all, even though I'm a fairly new user of Openfoam, let me say that your work is incredible.

If you give me the permission, I'm really interested to use some of your work, mostly the boundary condition model.

Speaking about the boundary condition model, the one I expected to use the most will be the SchumannGrotzbach boundary model. However, something in the code caught my attention.

I'm probably missing something out, but I hope you'll help me with this one.

I've seen in the literature that with beta=1.0 from Thomas & Williams (1999)
formulation, we have the Schumann-Grotzbach formulation

formulation2.

I've noticed that in the code, for instance at line 346 (occur at line 349, 360 & 362 also) in file SchumannGrotzbachFvPatchField.C, that a square root to uStar is used. From the formulation I presented above, I wondering why is not uStar^2 instead of sqr(uStar). I've been looking in the code and didn't find anything related that would involve to use sqr(uStar).

In the meantime, I've another question. Do I need to compile the "planarAveraging" & "temporalAvering" function in /src/functionObjects/field/ in order to make the SchumannGrotzbach boundary model work?

Thank for answering and helping me.

Best Regards,

René Thibault

Question about the ABL results of the LES precursor

Hi,
First, thank you NREL for making this SOWFA-6 publicly available.

I have a question about the setup for the LES precursor.
I am working on the LES precursor to produce an idealized neutral ABL.
I tested with a coarse mesh (20 x 20 x 20m) in a 3km x 3km x 1km domain. I ran this test for 18000 s physical time and the profiles were averaged during the last 2000 s.

The horizontal velocity, resolved tke and potential temperature profiles from the current dev branch look different from SOWFA-2.x and the previous version of SOWFA-6 as shown in the plots below.

I understand that there are some changes in UEqn and TEqn of the current solver. Is it something about the buoyancy term?

The temperature profile of the current dev version show that it diffuses down very quickly from the strong capping inversion zone and that caused the velocity profile at the strong temperature gradient to speed up.

So I would like to ask if there is any suggestion to setup the parameters properly in the setUp file for this current solver version?

Thank you very much

velocity
tke
temperature

drivingData folder missing?

Hello all,

I am trying to run the precursor simulation tutorial tut.ABLflatTerrain.precursor. The wrf option requires the file drivingData/surfaceSkinPotentialTemperatureTable file which is missing in the repository. Is there any way to download an example version of this file?

Thanks.

Cheers,
Akshay

how to get precursor case of ABLterrian case

Hi rthedin

when I prepare to run the case 'tut.ABLterrain' in SOWFA-6/exampleCases, I find it need a precursor named '~/OpenFOAM/rthedin-6/run/precursor/neutral.W.5at80.5dTInv.0p05z'. so, could you please share this precursor case or give me some information about how to creat a precursr case. Thanks a lot.

Angled wind- 'sources' file for ALM

Hello,

I wanted to clarify about the use of SOWFA6 ABL precursor file in the ALM turbine simulations, when the wind is not from West (270deg); but, for example, SouthWest (225deg).

  1. Could you clarify if any care should be taken for such a case, for the 'sources' file preparation OR are the conventional sourceTableMomentumX, Y, Z entries enough?

  2. And, should one save boundary data of the precursor at both, west and south boundaries ?

Thank you very much for the tool !

Question about the ABL precursor sampling

Hi,
I've been working with the ABL flat terrain precursor using this example case and almost everything went well. I got the results for the final timestep and reconstructPar correctely, but I'm confused with some error messages every few timesteps in the solver's log:

functionObjects::Q Q writing field: Q
functionObjects::vorticity vorticity writing field: vorticity
--> FOAM Warning :
From function Foam::label Foam::sampledSurfaces::classifyFields()
in file sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C at line 75
Cannot find registered field matching UMean
--> FOAM Warning :
From function Foam::label Foam::sampledSurfaces::classifyFields()
in file sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C at line 75
Cannot find registered field matching UPrime2Mean
--> FOAM Warning :
From function Foam::label Foam::sampledSurfaces::classifyFields()
in file sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C at line 75
Cannot find registered field matching TPrimeUPrimeMean

I suspect the issue is caused by system/sampling/slicesPrecursor, which requests sampling for UMean, UPrime2Mean, TPrimeUPrimeMean. However, it seems the solver wasn't generating these fields.

My first question is: I'm not sure about whether the error message is caused by my compiling or case setting, or is it a known issue that I can safely ignore?

Also, at the end of the solver's log, there's MPI errors. I run the precursor simulation twice(3×3km, 20m grid, neutral | 4×3km, 10m grid, neutral) and get different errors:

=============the 3×3km case ===============
[32167d1f2726:1847] *** An error occurred in MPI_Group_free
[32167d1f2726:1847] *** reported by process [2330132481,30]
[32167d1f2726:1847] *** on communicator MPI_COMM_WORLD
[32167d1f2726:1847] *** MPI_ERR_GROUP: invalid group
[32167d1f2726:1847] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
[32167d1f2726:1847] *** and potentially your MPI job)
[32167d1f2726:01812] 30 more processes have sent help message help-mpi-errors.txt / mpi_errors_are_fatal
[32167d1f2726:01812] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages

==============the 4×3km case===============
[32167d1f2726:04387] *** Process received signal ***
[32167d1f2726:04387] Signal: Bus error (7)
[32167d1f2726:04387] Signal code: (128)
[32167d1f2726:04387] Failing at address: (nil)
[32167d1f2726:04387] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7ff8af798980]
[32167d1f2726:04387] [ 1] /usr/lib/x86_64-linux-gnu/libmpi.so.20(ompi_group_free+0x16)[0x7ff8ace3c686]
[32167d1f2726:04387] [ 2] /usr/lib/x86_64-linux-gnu/libmpi.so.20(PMPI_Group_free+0x57)[0x7ff8ace645c7]
[32167d1f2726:04387] [ 3] /foam/openfast/install/lib/libopenfastcpplib.so(_ZN4fast8OpenFAST3endEv+0x9a)[0x7ff8b36ef58a]
[32167d1f2726:04387] [ 4] superDeliciousVanilla(+0x49d33)[0x5624a0249d33]
[32167d1f2726:04387] [ 5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7ff8af3b6c87]
[32167d1f2726:04387] [ 6] superDeliciousVanilla(+0x4d11a)[0x5624a024d11a]
[32167d1f2726:04387] *** End of error message ***
[32167d1f2726:4374] *** An error occurred in MPI_Group_free
[32167d1f2726:4374] *** reported by process [2633498625,2]
[32167d1f2726:4374] *** on communicator MPI_COMM_WORLD
[32167d1f2726:4374] *** MPI_ERR_GROUP: invalid group
[32167d1f2726:4374] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
[32167d1f2726:4374] *** and potentially your MPI job)
[32167d1f2726:04388] *** Process received signal ***
[32167d1f2726:04388] Signal: Bus error (7)
[32167d1f2726:04388] Signal code: (128)
[32167d1f2726:04388] Failing at address: (nil)
[32167d1f2726:04388] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7fe968ee7980]
[32167d1f2726:04388] [ 1] /usr/lib/x86_64-linux-gnu/libmpi.so.20(ompi_group_free+0x16)[0x7fe96658b686]
[32167d1f2726:04388] [ 2] /usr/lib/x86_64-linux-gnu/libmpi.so.20(PMPI_Group_free+0x57)[0x7fe9665b35c7]
[32167d1f2726:04388] [ 3] /foam/openfast/install/lib/libopenfastcpplib.so(_ZN4fast8OpenFAST3endEv+0x9a)[0x7fe96ce3e58a]
[32167d1f2726:04388] [ 4] superDeliciousVanilla(+0x49d33)[0x55ac92449d33]
[32167d1f2726:04388] [ 5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fe968b05c87]
[32167d1f2726:04388] [ 6] superDeliciousVanilla(+0x4d11a)[0x55ac9244d11a]
[32167d1f2726:04388] *** End of error message ***
[32167d1f2726:04367] 25 more processes have sent help message help-mpi-errors.txt / mpi_errors_are_fatal
[32167d1f2726:04367] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages

I notice in the error there's "libopenfastcpplib.so". I compiled openfast with special version mentioned in #51 , which is @a0d4f7e. It seems that the function reported an error is void fast::OpenFAST::end() , and I have no idea why this happened and not sure whether it will affect the final simulation result and subsequent simulation.

The log file with 3×3km simulation is log.0.superDeliciousVanilla.startAt0.ABL_1.txt. I delete some log in the middle because the whole file is too large and reach the limit.

Appreciate any insights you can provide.
Thanks a bunch!

Running tut.ABLflatTerrain.precursor arithmetic and running 2_solve reported an error

Running tut.ABLflatTerrain.precursor arithmetic and running 2_solve reported an error.The terminal displays as shown

./2_solve: line 3: OpenFOAM-6-dev-central: command not found
Job killed (1)
./2_solve: line 15: scancel: command not found
Case not reconstructed and first time of boundaryData not fixed. Check if endTime dir exists.
ls: cannot access 'postProcessing/boundaryData/north': No such file or directory
ls: cannot access 'postProcessing/boundaryData/south': No such file or directory
ls: cannot access 'postProcessing/boundaryData/east': No such file or directory
ls: cannot access 'postProcessing/boundaryData/west': No such file or directory

The log. 2. decomposePar file displays as follows:
--> FOAM Warning :
From function void* Foam::dlOpen(const Foam::fileName&, bool)
in file POSIX.C at line 1234
dlopen error : libSOWFAincompressibleTurbulenceModels.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105
could not load "libSOWFAincompressibleTurbulenceModels.so"

I would greatly appreciate it if you could tell me where the mistake was or how to adjust it.
Thanks.

Question about the tut.ABLterrain

After running the tut.ABLterrain arithmetic example and getting 20000-30000s of data (30000 set by endTimeAvg), after opening the visualization in paraview postprocessing, I found that there is no corresponding terrain output still the computational domain of the rectangle. triSurface file is put in the STL file. What is wrong with this? Eager to help!

Installation guidelines for SOWFA-6

Hi there.
I´m trying to install the SOWFA-6 version but the information in the repository is very confuse. For example, the readme file it says to use only the OpenFOAM 6 version but in the bash_profile it is declare the 2.4.0 version.
It will be very helpful a similar guideline for the SOWFA-6 version. I know this version is still under development but i would like to use it and help a little bit with my experience to improve it.

Best Regards

Daniel

Question about coupling with OpenFAST when considering precursor simulation.

When using turbulent inflow to calculate openfast coupling, My solver log display:

Turbine 0 Rotor Torque from Body Force = 0 Rotor Torque from Actuator = -139799.923802 Ratio = 0
Turbine 0 Rotor Axial Force from Body Force = 0 Rotor Axial Force from Actuator = 13632.2793949 Ratio = 0
Turbine 0 Nacelle Axial Force from BodyForce = 0 Nacelle Axial Force from Actuator = 0 Ratio = 0

The result is that although the simulation is run, the result is obviously wrong.
I don't know if anyone has the same problem, or if there is any solution. Looking forward to hearing from anyone

Compiler error when coupling with OpenFAST

Hello,

I am facing the following error when I try to link the latest version of OpenFAST to SOWFA-6

horizontalAxisWindTurbinesALMOpenFAST/horizontalAxisWindTurbinesALMOpenFAST.C: In member function ‘void Foam::turbineModels::horizontalAxisWindTurbinesALMOpenFAST::sendInput()’: horizontalAxisWindTurbinesALMOpenFAST/horizontalAxisWindTurbinesALMOpenFAST.C:444:6: error: ‘class fast::fastInputs’ has no member named ‘numScInputs’ 444 | fi.numScInputs = numSuperControllerOutputs ; | ^~~~~~~~~~~ horizontalAxisWindTurbinesALMOpenFAST/horizontalAxisWindTurbinesALMOpenFAST.C:445:6: error: ‘class fast::fastInputs’ has no member named ‘numScOutputs’ 445 | fi.numScOutputs = numSuperControllerInputs ;

I have also attached the log file with the full output when I try to build SOWFA-6.

log_sowfa_build_error.txt.

Steps I have done so far - Installed OpenFOAM-6 ( not sure if relevant, but I had to use c++=14 standard instead of default because CGAL would give errors otherwise), master branch of OpenFAST with the same compilers and then tried to build SOWFA-6. Other executables build properly.

OS: Ubuntu 18
Compilers: gcc 11.2.0

Thanks for the help.

Guidelines for turbine simulation

Hello,

I am migrating from SOWFA-2.4.0 to SOWFA-6 and trying to understand how the wind turbine simulation is set up using the tutorial. So far I have been able to run the precursor simulation and generate the boundaryData.

I then looked into the directory tut.ABLflatTerrain.run to initiate a wind turbine simulation. I have some questions regarding this:

  1. The instructions mention that the tutorial does not include turbine files. Coming from SOWFA-2.4.0, I have a general idea of how the wind plant information is provided as input. But I believe that there are significant changes in SOWFA-6, especially in terms of the solver superDeliciousVanilla.turbine Can you please provide the guidlines to perform a turbine simulation ?

  2. I also cannot find the source information in $precursorDir/constant/ which is required for the run:

    ln -sf $precursorDir/constant/givenSource* constant/

Apart from this, if there is another tutorial case I should refer for learning about the wind turbine simualtion in SOWFA-6, please let me know. Thanks.

Clean up TVMIO output

Only print out valueFraction once per time step as a sanity check instead of at every inner iteration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.