Issue#304818: OpenFOAM 2.4.x and OpenFOAM 3.0.x on openSUSE Leap 42.1

  • I'm having an issue with the OpenFOAM environmental variables when calling ParaView. I installed both OF 2.4.x and OF 3.0.x in my /opt/OpenFOAM directory, as well as the respective third party software for each version. I also set aliases for each OF version in my ~/.bashrc

    Running either version of ParaView without calling the alias works fine, using either of the two lines:

    Code:

    [email protected]:~> /opt/OpenFOAM/ThirdParty-2.4.x/build/linux64Gcc/ParaView-4.1.0/bin/paraview

    [email protected]:~> /opt/OpenFOAM/ThirdParty-3.0.x/build/linux64Gcc/ParaView-4.4.0/bin/paraview

    If I set an alias (e.g. of24x, of30x), I get the following libGL errors:

    Code:

    [email protected]:~> of30x
    [email protected]:~> /opt/OpenFOAM/ThirdParty-3.0.x/build/linux64Gcc/ParaView-4.4.0/bin/paraview
    AutoMPI: SUCCESS: command is:
     "/usr/lib64/mpi/gcc/openmpi/bin/mpiexec" "-np" "2" "/opt/OpenFOAM/ThirdParty-3.0.x/build/linux64Gcc/ParaView-4.4.0/bin/pvserver" "--server-port=57912"
    AutoMPI: starting process server
    -------------- server output --------------
    Waiting for client...
    AutoMPI: server successfully started.
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast
    X Error: BadValue (integer parameter out of range for operation) 2
      Extension:    154 (Uknown extension)
      Minor opcode: 3 (Unknown request)
      Resource id:  0x0

    Both versions of OpenFOAM were installed using the openSUSE instructions on the wiki. Can someone give me an idea of what's going on?

    Cheers,
    Chris

    0 Answers

    Sorry, your answer is too short !

  • Issue#757397: Question: OpenFOAM 3.2 issue installing blockMeshDG

    Hello, First let me state that I'm new to OpenFOAM world, and I'm training myself with small cases. The following question arose from a case of double wall channel flow using foam-extend-3.2. I have been trying to use the Multigrade capabilities of blockMesh with the following blockMeshDict: " convertToMeters 1; vertices ( (0 0 0) (2 0 0) (2 1 0) (0 1 0) (0 0 0.01) (2 0 0.01) (2 1 0.01) (0 1 0.01) ); blocks ( hex (0 1 2 3 4 5 6 7) (100 50 1) simpleGrading ( 1 ((0.25 0.4 4) (0.5 0.2 1) (0.25 0.4 0.25)) 1 ) ); ); edges ( ); boundary ( fixedWall { type wall; faces ( (0 1 5 4) (3 2 6 7) ); } inlet { type patch; faces ( (0 3 7 4) ); } outlet { type patch; faces ( (1 5 6 2) ); } frontAndBack { type empty; faces ( (0 3 2 1) (4 5 6 7) ); } ); mergePatchPairs ( ); " However, this does not work with the typical "blockMesh" command, which has an issue with the extra brackets in "block" section of the code&qu

  • Issue#854955: Coding issue / OpenFOAM

    Hi, I'm trying to compile a solver. I have several functions that those functions want to access some mesh data, and I would like to keep those functions in separate C files, and having access in main C file via header files. Please see "testme.C" below! I get errors, cuase I can't access to 'vector', 'label', 'mesh', and etc. How can I fix that? Example (I know the purpose of the function doesn't make sense ... but it's just an example!) Code: // testme.C file double TestMe(std::vector <double> & myvec) {         vector myPoint(1.0, 1.0, 1.0);         label myCell = mesh.findCell(myPoint);                 double u_here = U[myCell].component(0);                 return u_here; } Code: // testme.h file double TestMe(std::vector <double> & myvec); Code: // mySolver.C file ... int main(int argc, char *argv[]) {  ... &nb

  • Issue#862582: Installing OpenFOAM 4.0 on OpenSuse 13.2

    I'm getting ready to install OpenFOAM 4.0 on my Linux OpenSuse 13.2 system. I previously installed OpenFOAM 2.3.1 with the great help of this following website: http://openfoamwiki.net/index.php/In...#openSUSE_13.2 I can't seem to find a similar site for OpenFOAM 4.0. Can anybody point me to it? Thanks in advance, M Ridzon

  • Issue#904494: Installation issue OpenFOAM for Windows after restart

    Dear all I installed OpenFOAM for Windows (http://www.openfoam.com/download/install-windows.php) successfully on my Windows 10 PC (v1606+). After doing the same at work (Windows 7 64 bit), I could run OpenFOAM at first, but after restarting the PC, it didn't work anymore. I found out that reinstalling the software helps as long as no one shuts down the computer. It seems as there was a problem with Docker (see screenshot attached, "docker-machine.exe unknown"). Does anyone know what to do? Thank you in advance! Best regards Thomas Attachment 49048 Attached Images error.png (84.0 KB)

  • Issue#1142404: OpenFOAM 3.01 on Centos 5.11 - MPI Issue

    Have been struggling with this for some time. If anyone has any thoughts would be appreciated. I've been running 3.0.1 on Centos 5.11 successfully on a number of nodes here. Today I encountered one issue with a node that has Intel composer xe installed on it and is defaulting to intels MPI. All my other nodes run on OpenMPI with success and I would like to execute of301 on this node using the same config. mpi-selector --list returns: lam-i386 lam-x86_64 openmpi-1.4-gcc-x86_64 mpi-selector --query returns: default: openmpi-1.4-gcc-x86_64 level:system but mpirun -which returns /opt/intel/composer_xe_2013_sp1.1.106/mpirt/bin/intel64/mpirun and throws an error saying /opt/intel/composer_xe_2013_sp1.1.106/mpirt/bin/intel64/mpivars.sh: No such file or directory. Foam is configured OpenFOAM-3.0.1/etc/bashrc configures WM_MPLIB to SYSTEMOPENMPI. I have tried setting it to OPENMPI but with no luck. but after initializing with of301 typing $WM_MPLIB at the terminal returns bash: SYSTEM

  • Issue#9164: OpenFoam 3.0.x Moving Solid Body Through Mesh

    Hi, I am currently running compressibleInterFoam where I have a jet of fluid flowing upward into a stagnant body of water. I would like to add a solid body with a pre-programmed trajectory into the body of water. The body can move at a constant velocity in a straight line. What is the best way to solve this problem? The volume is roughly 20meter per side and I would like the body to move 2 to 4 meters near the center of the volume. Thanks, Leonard Cassady

  • Issue#14046: Linux - openSuse Leap installer gets stuck or doesn't load

    I have been preparing to perform a major upgrade and HDD replacement at the same time. While waiting for the hardware to arrive, I have been downloading and burning all the iso's that I expect to need. I have downloaded the openSuse Leap X86-64 iso twice and the boot from dvd fails at the same place each time. -checksums ok, -media boots and verify media ok when done in a different machine -openSuse 13.2 i586 DVD gets to the partitioning part of the install at which point I bail out. When booting from the Leap x64 DVD there is a green progress bar that runs along the bottom of the screen. It gets stuck when that reaches 100%. I left it for 20 minutes last night just in case it was a bit slow. Does any one know which point in the start up this or is there any way to get some verbose messages up on the screen so that I can see what is happening? At this point I am suspecting that something in my machine does not like 64 bit even though the CPU (Pentium D 820) and chipset (intel

  • Issue#21703: OpenFOAM: Adding a transient pressure gradient to a solver

    I am trying to add a pressure gradient, that changes with time, to a solver. I have a sinusoidal pressure gradient working, but I am having trouble ramping up the frequency. I'm new to OpenFOAM and C++, and it's pretty clear I am not calling functions properly, but I don't know how to resolve. As a test, I want to apply the sinusoidal gradient until time = 5, then have the gradient go to zero for the remainder of the simulation. If I can get this working, I should be able to set up the actual ramping I want. I'm mostly interested in calling the ceiling, floor, and minimum functions properly. And, I know the arguments for the minimum function are not of the same type, but don't know how to get them to match. Thanks for any insight, Dan In UEqn.H: tmp<fvVectorMatrix> UEqn ( fvm::ddt(U) + fvm::div(phi, U) + turbulence->divDevReff(U) == fvOptions(U) +dpdx*cos(Freq*runTime.time().value()) *ceil((t0-std::min(runTime.time().value(),t0))/t0) ); In createFields.H: dimen

  • Issue#32105: OpenFoam installation on CentOS 7 32 bits

    Hi, I'm new user of OpenFoam... i have looked for installation instructions of OF on CentOS 7 32 bits and did not found ... Only for 64 bits does exist , there is no suppport for 32 bits !. any help will be appreciated. By the way.. which version of OF is recommanded ?, the lastest ? Thanks

  • Issue#34098: Mesh export from fluent to openfoam

    HAI, Why i'm getting this kind of message when fluet mesh to export to openfoam ? +}[Embedded blocks in comment or unknown: Embedded blocks in comment or unknown:� Found end of section in unknown:/ Found end of section in unknown:? ��|���Embedded blocks in comment or unknown:� mbedded blocks in comment or unknown:� Found end of section in unknown:� )�@Embedded blocks in comment or unknown:� �@�\)��Embedded blocks in comment or unknown: Found end of section in unknown:� Embedded blocks in comment or unknown:� Embedded blocks in comment or unknown: Embedded blocks in comment or unknown: �,Embedded blocks in comment or unknown:�� �Embedded blocks in comment or unknown:� Embedded blocks in comment or unknown: Embedded blocks in comment or unknown:� Embedded blocks in comment or unknown:� �Embedded blocks in comment

  • Issue#50696: Why do code crash when OpenFOAM is combined with VTK?

    I am trying to combine VTK with OpenFOAM. Unfortunately, the simplest OpenFOAM example (icoFoam.C) with included the simplest VTK example (Arrow.cxx) crashes with "Floating point exception" in window rendering if OpenFOAM functions are called before VTK. I know, it is difficult for you to judge what happens in these functions, but maybe you have some hints what to search for, or maybe some of you are familiar with coupled OpenFOAM and VTK. P.S. VTK v.6.3.0 and OpenFOAM v.3.0 are used. Thank you very much in advance, Algis

  • Issue#55621: How to install ParaView 5 with OpenFOAM-dev or -3.x.x

    Hi, I just finished installing ParaView 5 for OpenFOAM, so I thought I'd share the installation steps with you (OS is Xubuntu 14.04). 1. cd into $WM_THIRD_PARTY_DIR and get the sources from http://www.paraview.org/download/ (ParaView-v5.0.0-source.tar.gz) 2. Unpack and rename the directory to ParaView-5.0.0 3. Edit file ParaView-5.0.0/CMake/ParaViewDetermineVersion.cmake and comment out lines 41-50 (otherwise source version detection fails, this is also a bug in 4.4.0): Code:   if (NOT PARAVIEW_GIT_DESCRIBE) #    if (EXISTS ${git_command}) #      execute_process( #        COMMAND ${git_command} describe #        WORKING_DIRECTORY ${source_dir} #        RESULT_VARIABLE result #        OUTPUT_VARIABLE output #        ERROR_QUIET #        OUTPUT_STRIP_TRAILING_WHITESPACE #        ERROR_STRIP_TRAILING_WHITESPACE) #&

  • Issue#56941: Problem with installing OpenFOAM 2.0.X

    hi everyone :) can any one translate this command for me?:confused: i want to know what does exactly this command do ! I have a problem with this and i want to know whether i can do it manually or not . thank you all ! :( sed -i s/"cmake-2.8.3"/"cmake-2.8.5"/g $WM_THIRD_PARTY_DIR/makeCmake sed -i s/"cmake-2.8.4"/"cmake-2.8.5"/g $HOME/OpenFOAM/OpenFOAM-2.0.x/etc/config/myParaview.sh and here is My terminal error : sed: can't read /makeCmake: No such file or directory

  • Issue#57566: Two gas mixing solver selection OpenFoam

    Hai, I have to model two gas mixing (air and ammonia). Which standard solver do I need to select in openfoam. These gases are mixing in T juction. Air inlet pressure 5 bar and temperature 600K. Ammonia inlet pressure is 6 bar and temperature 650K. This model need to develop for gas mixing without reaction. Please reply any of you know the required model for this case. Best regards, Prasanna.

  • Issue#59594: Linux - openSUSE LEAP 42.1 install problem

    Have also a strange [never before in decade] install problem with 42.1; after download, burn and verify, and start of install [got screen where select ‘installation’] and see that it has finished loading the Linux kernel, it goes to black & white scrolling script and then ends [cursor blinking at bottom of screen]; no further screen or install progress. First time it ended at line : ‘[0.253117] PCI:using config type 1 for bass access’ After that first time it stalled 3 times in row at: ‘[0.44494] Timer: vector = 0x38 apic=0 pin1=2 apic2=-1 pin2=-1’ Should mention that initial laptop [Itronix VR2] b&w [not LEAP OS] screen has: 1. Legacy (isolinux) Select CD-ROM Boot type: (put in the 1 and Enter and starts install process). Installing on General Dynamics GoBook VR2 [Intel Centrino duo] Would it help to input various kernel options?

  • Issue#60268: StarCCM meshes to convert for usage in OpenFoam

    Dear all, First of all i'm a begineer in OpenFoam, been using wavefoam for simulation of waves. Now I've got hold of a star.ccm mesh file, How do I get about placing the files at which directory and how do I convert it to Openfoam Any help is appreciated thanks!

  • Issue#62129: openfoam define a zero value volscalarfield

    Hi everyone, I'm trying to program a solver and its need a volscalarfield that initially must be zero everywhere in the mesh and I don't want to read it from any initial condition or to write it down. Anyone know how to do it? thanks in advance Luis

  • Issue#62788: Cluster OpenFOAM ()

    I have 3 PCs, combined them into a cluster and was able to run calculation problems. After seeing the result is that productivity growth has not happened, and does not vary with increasing cores or reducing the number of cells per processor 100000. Thanks for any help. sorry for my English

  • Issue#69512: openfoam newbie need hardware info.

    I am going to build a cfd system soon. Eventually I will be running simulations of high speed boats with aero and hydro with waves and such. I am wondering where to start with hardware. Would it be better to start with a desktop or server. I have thought about starting with a rackmount computer so I can expand easily later on.....or would it be better to just buy two desktops. I want to spend about 1k to get started. I'm not sure how intensive what i want to simulate is either. There are a couple videos online of what i want to be able to do: https://www.youtube.com/watch?v=al-f9zODwjI. I am willing to start on my laptop doing a wing in ground effect or may just a hull going through smooth water but I will be investing in a computer soon. What is the best way to start??

  • Issue#75923: Linux - Oracle Virtual Box Install openSuse Leap 42.1

    Got a question on a new install. Like to know if anyone has a suggestion on which version of Virtual Box to install on the latest openSuse LEAP 42.1 package. Overall install has gone well with no apparent issues. Oracle has packages for openSuse 13.2 but does not list LEAP 42.1

  • Issue#77631: Linux - Opensuse 42 Leap - purpose and stopping ttys -disabling unnecessary services

    Hi All, Leap is my development environment please someone say use of following services and how to stop these , will there any problem if we stop this sys-devices-platform-serial8250-tty-ttyS10.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS10 sys-devices-platform-serial8250-tty-ttyS11.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS11 sys-devices-platform-serial8250-tty-ttyS12.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS12 sys-devices-platform-serial8250-tty-ttyS13.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS13 sys-devices-platform-serial8250-tty-ttyS14.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS14 sys-devices-platform-serial8250-tty-ttyS15.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS15 sys-devices-platform-serial8250-tty-ttyS16.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS16 sys-devices-platform-serial8250-t

  • Issue#79683: OpenFOAM 3.0.x on Mac OS X and Macports

    Hey! I'm looking for a way to compile OF 3.0.x on Mac OS X with Macports. Mr. Klein is providing a way of compiling OF 3.0.x using Homebrew (https://github.com/mrklein/openfoam-os-x). Is there a patch for compiling with Macports instead of Homebrew?

  • Issue#82105: Cannot build swak4Foam with OpenFOAM-dev

    I was able to build for OpenFOAM-3.0.x a while back, but now it's failing with commit 23bcea0299 of dev. I have tried the master and port_of-dev branches of the swak repo to no avail. Are swak and dev incompatible? Here's the error message I'm getting: Code: In file included from /home/pete/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/typeInfo.H:57:0,                 from /home/pete/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/token.H:46,                 from /home/pete/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/UListIO.C:28,                 from /home/pete/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/UList.C:225,                 from /home/pete/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/UList.H:462,                 from /home/pete/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Lis

  • Issue#83268: Problems with running TAU and OpenFOAM

    Hello all, I am a new memeber of this forum. I interested in profiling OpenFOAM solvers with TAU profiler. First of all, i built tau from source. I checked a few tutorial examples and it all went well. Then, I built OpenFOAM with Intel icpc compiler from source. Again I checked it and the solvers worked correctly. Here comes the real deal: I changed the CC = icpc... command to CC=tau_cxx.sh in $HOME/OpenFOAM/OpenFOAM-3.0.0/wmake/rules/linux64ICC/c++ file. When I tried to compile the icoFoam solver, it did compiled and the executable created, but when i try to run it the terminal seems to be frozen (like he is in some infinite loop). Any ideas of how to fix it ? Thank You!

  • Issue#89730: polyhedral mesh from fluent to openfoam

    Dear All, I am trying to import polyhedral mesh from fluent to openfoam by converter fluentMeshToFoam and i get attached error. Is someone know if polyhedral mesh in fluent in not readaable in openfoam or if i have to use different converter or commands? regards, Stefano Attached Files meshcheck_0209_11mil_poly_from_fluentMeshToFoam.zip (3.2 KB)

  • Issue#90391: ODE Solver of OpenFOAM-extend

    Hello Foamers, I'm stuck within implementing a set of ODE in OpenFOAM-extend 3.2. The greatest problem is that the extenden version has no Test-ODE.C, at least I couldn't find it. Thus, I implemented my ODEs in OF-2.3, which is working fine, and now try to transfer it to the extend version. I'm trying to figure out what is the meaning of the "coeffs" function in ODE.H: Code:                 //- Return access to coefficients         virtual scalarField& coeffs() = 0;         //- Return reference to coefficients         virtual const scalarField& coeffs() const = 0; These are abscent in OF-2.3, but here they are pure virtual and must be overloaded. I figured out the at some point in ODESolver.C the function provides y, but y is alredy defined in "derivatives()", which makes no sense to me. Code:     scalarField& y = ode_.coeffs(); fo

  • Issue#90392: WSGGM absorption emission model in OpenFOAM

    Dear Foamers, I am trying to use the radiation in my flame calculation with edcSimpeSMOKE solver. I need to use the wsggm submodel combined with P1 radiation model. The problem is that when I try to use wsggm, OpenFOAM tells me that this model is not available. Unknown absorptionEmissionModel type wsggmAbsorptionEmission Valid absorptionEmissionModel types are : 6 ( binaryAbsorptionEmission constantAbsorptionEmission greyMeanAbsorptionEmission greyMeanSolidAbsorptionEmission none wideBandAbsorptionEmission ) Is it true that wsggm model is not implemented in OpenFOAM. Or it has another name? Thank you very much Litchy

  • Issue#102381: Linux - openSUSE Leap Add Direct Delete Option In File Manager

    Hello, Is there a way to add a direct delete option in the File Manager?

  • Issue#102611: OpenFOAM and immersed boundary for cardiovascular problems

    Hello, I am considering OpenFOAM and its immersed boundary solver to to simulate blood flow through an aortic valve. In simple terms, the geometry is a tube which has thin leaflets inside. These leaflets undergo large periodic deformation. Do you think that OpenFOAM is currently capable of simulating such a problem? I am aware of OpenFOAM Extend, but I have not found any references to work performing a similar simulation. Thank you, Emilie