|
[Sponsors] |
March 6, 2010, 21:53 |
problem with profile1DfixedValue BC
|
#1 |
New Member
Join Date: Mar 2010
Posts: 1
Rep Power: 0 |
Hi everyone,
I am new to OpenFOAM, C++ and Linux, I have read Userbook and tried the tutorials. Now I want to run the ERCOFTAC conical diffuser case0, but I dont know how to compile and use the profile1DfixeddValue BC. Help! Thx I try to wmake the profile1DfixedValue today, but got this: SOURCE=finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/Ping/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/Ping/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/Ping/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/profile1DRawData.o In file included from finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C:101: finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H: In function 鈙td::string Foam::toLower(const std::string&)? finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H:75: error: 鈚ransform?is not a member of 鈙td? finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H: At global scope: finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H:120: warning: type qualifiers ignored on function return type finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H:121: warning: type qualifiers ignored on function return type finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C:124: warning: type qualifiers ignored on function return type finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C:137: warning: type qualifiers ignored on function return type make: *** [Make/linuxGccDPOpt/profile1DRawData.o] Error 1 I have no idea about this, any suggestions? Thank you! Ping Last edited by pinguw; March 6, 2010 at 22:38. |
|
September 15, 2010, 05:18 |
|
#2 | |
Member
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 17 |
Hi all
I have been working with the OpenFoamTurbo library trying to get the profile1DfixedValue boundary condition working. I'm running OF 1.6. I initially downoaded the 1.5 OpenFoamTurbo library, but I could not get this to compile. I then downloaded the 1.6 OpenFoamTurbo library, and this compiled fine. However, after getting the error message that the solver couldn't find the boundary value (the normal error message when your custom boundary condition library isn't found - something like: Quote:
I then checked the files in the distribution, and saw that appart form profile1DfixedValue, there was an additional boundary condition, SRFZones. I removed this from the Make/files file, and then the library compiled, and I was able to run the simulation with the profile1DfixedValue boundary condition. I'm now working on the ERCOFTAC conical diffuser test case. |
||
January 26, 2011, 01:16 |
Cylindrical inlet velocity boundary condition
|
#3 | |
Member
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 17 |
I was working on another problem, where I was triying to apply an inlet velocity boundary in cylindrical coordinates. I'm using OF 1.6, and I found that there was no library for this type of inlet in this release. I did find this boundary condition in the 1.7 DEV release, here:
http://foam.sourceforge.net/docs/cpp...d.php#_details I copied these files and compiled the them in my OF - everything worked fine. I then tried to impliment the boundary condition, and again got this message (same as the one I mentioned in the previous post): Quote:
value uniform {0 0 0} to the boundary condition, and it worked fine. This approach is mentioned here as well: http://www.cfd-online.com/Forums/ope...tml#post246241 |
||
July 11, 2011, 06:08 |
inletBC cylindrical coordinates
|
#4 |
New Member
Join Date: May 2011
Posts: 3
Rep Power: 14 |
Hi dear foamers,
I am in a similar situation, im trying to implement a case with openFoam-1.6-ext and fixe the inlet velocity in cylindrical coordinates. I saw that there is no way to do that with this version of openFoam. Are you able to do your simulation with openFoam-1.6-ext? The link that u posted is not available anymore...can you send me the files that you used to fixe the BC? I let you my email address: ariane.jasmin@gmail.com Thank you for your help!! Ariane |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Incoherent problem table in hollow-fiber spinning | Gianni | FLUENT | 0 | April 5, 2008 10:33 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |