|
[Sponsors] | |||||
|
|
|
#21 |
|
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 4 ![]() |
But doesn't the error message means that the keyword patches should be defined in the surfaces section?
"keyword patches is undefined in dictionary "/home/caro/OpenFOAM/caro-2.1.0/run/pipe_flow/system/sampleDict::surfaces" " |
|
|
|
|
|
|
|
|
#22 |
|
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 371
Rep Power: 11 ![]() |
It couldn't find the keyword "patches" and checking the dict given with the source code, this keyword is present only in the sets section. The idea is to try adding something in this section to see what happens.
Regards
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Post-doctoral Fellow Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL T.E.: 54-342-4511594 Ext. 1005 Güemes 3450 - (3000) Santa Fe Santa Fe - Argentina http://www.cimec.org.ar |
|
|
|
|
|
|
|
|
#23 |
|
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 4 ![]() |
so using the tutorial LadenburgJet60psi as a guide (because they also want to sample for a wall property), here is what I wrote
sets ( face { name cyl_Wall; axis x; start (0 0.05 0); end (10 0.05 0); nPoints 100; } ); But now I get this error: keyword type is undefined in dictionary "/home/caro/OpenFOAM/caro-2.1.0/run/pipe_flow/system/sampleDict::sets" I must be missing something obvious, I just don't see it... |
|
|
|
|
|
|
|
|
#24 |
|
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 371
Rep Power: 11 ![]() |
Yes,
type uniform; at the beginning of the definition.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Post-doctoral Fellow Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL T.E.: 54-342-4511594 Ext. 1005 Güemes 3450 - (3000) Santa Fe Santa Fe - Argentina http://www.cimec.org.ar Last edited by santiagomarquezd; April 16, 2012 at 15:00. Reason: Spelling |
|
|
|
|
|
|
|
|
#25 |
|
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 4 ![]() |
And now I get my "keyword patches undefined ..." error again...
|
|
|
|
|
|
|
|
|
#26 |
|
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 371
Rep Power: 11 ![]() |
What FOAM version are you using?
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Post-doctoral Fellow Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL T.E.: 54-342-4511594 Ext. 1005 Güemes 3450 - (3000) Santa Fe Santa Fe - Argentina http://www.cimec.org.ar |
|
|
|
|
|
|
|
|
#27 |
|
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 4 ![]() |
OpenFOAM 2.1.0
|
|
|
|
|
|
|
|
|
#28 |
|
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 371
Rep Power: 11 ![]() |
Please check:
/opt/openfoam<your_version>/applications/utilities/postProcessing/sampling/sample/sampleDict in order to see the correct wording of the dictionary, the keywords have changed in the last versions. Now the keyword patches is required in surfaces too. Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Post-doctoral Fellow Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL T.E.: 54-342-4511594 Ext. 1005 Güemes 3450 - (3000) Santa Fe Santa Fe - Argentina http://www.cimec.org.ar |
|
|
|
|
|
|
|
|
#29 |
|
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 4 ![]() |
Thanks so much for your help Santiago!!!
It seems you do not need to specify anything in sets, as long as everything is defined correctly in surfaces. |
|
|
|
|
|
|
|
|
#30 |
|
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 371
Rep Power: 11 ![]() |
You welcome. Yes, sets is not more needed. It was used only for testing purposes.
Bye.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Post-doctoral Fellow Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL T.E.: 54-342-4511594 Ext. 1005 Güemes 3450 - (3000) Santa Fe Santa Fe - Argentina http://www.cimec.org.ar |
|
|
|
|
|
|
|
|
#31 |
|
New Member
Join Date: Jan 2010
Posts: 10
Rep Power: 5 ![]() |
Hello,
I was wondering if anyone has used the sampleDict to determine variable values along a moving mesh. Particularly, I'm interested in the displacement of a solid in an FSI case (Turek and Hron benchmark). It would be very similar to determining the displacement of the tip of the console in the flappingConsole FSI case that is packaged with the extend versions of 1.5 and 1.6. I've tried using the surfaces functionality of the sampleDict and like many other folks end up with empty file folders. This leads me to believe there are issues with trying to use the boundaries/interfaces between solid and fluid as my surface patch like others have experienced. This also brings me to the issue of trying to define a line or surface based on xyz coordinates as I'm interested in the variation of x,y,z over time as the solid is deflected. Any help would be appreciated and I'm curious if anybody else has experienced this as I couldn't find anything in the forums. Regards, Andrew |
|
|
|
|
|
|
|
|
#32 |
|
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 2 ![]() |
Hi everyone,
I am fresher to openFoam. I came to know the uses of swak4Foam utility for writing boundary conditions. In my application also i need to apply zero flux boundary condition. So i wish to install swak4Foam. Now i am working on OF 2.1.1 version. I followed every step as mentioned in the tutorials but i am not able to get it. The error message as follows Error message:- malli_reddy@ubuntu:~/OpenFOAM/malli_reddy-2.1.1$ svn checkout https://openfoam-extend.svn.sourcefo...ies/swak4Foam/ svn: OPTIONS of 'https://openfoam-extend.svn.sourcefo...ries/swak4Foam': Could not resolve hostname `openfoam-extend.svn.sourceforge.net': No address associated with hostname (https://openfoam-extend.svn.sourceforge.net) Could you please suggest me how to overcome this problem. And suggest me some good tutorial for the swak4Foam. Thanks Regards
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
| Sample utility | Gearb0x | OpenFOAM Post-Processing | 12 | March 27, 2011 14:13 |
| Sample utility not working properly | titio | OpenFOAM | 2 | June 9, 2010 10:45 |
| 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 |