CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   why pyFoamClearBoundaryValue.py doen't work or mistake oarguments? (https://www.cfd-online.com/Forums/openfoam-post-processing/117201-why-pyfoamclearboundaryvalue-py-doent-work-mistake-oarguments.html)

immortality May 4, 2013 10:10

why pyFoamClearBoundaryValue.py doen't work or mistake oarguments?
 
Code:

ehsan@Ehsan-com:~/Desktop/Huge_reservoir$ pyFoamClearBoundaryValue.py
Usage
=====
  pyFoamClearBoundaryValue.py [options] <fieldfile> <patchnames>

pyFoamClearBoundaryValue.py: error: Too few arguments (2 needed, 0 given)
ehsan@Ehsan-com:~/Desktop/Huge_reservoir$ pyFoamClearBoundaryValue.py p left
Error in /usr/local/bin/pyFoamClearBoundaryValue.py : Either a patch or a value must be specified
ehsan@Ehsan-com:~/Desktop/Huge_reservoir$ pyFoamClearBoundaryValue.py left
Usage
=====
  pyFoamClearBoundaryValue.py [options] <fieldfile> <patchnames>

pyFoamClearBoundaryValue.py: error: Too few arguments (2 needed, 1 given)
ehsan@Ehsan-com:~/Desktop/Huge_reservoir$ pyFoamClearBoundaryValue.py p lft right
Error in /usr/local/bin/pyFoamClearBoundaryValue.py : Either a patch or a value must be specified
ehsan@Ehsan-com:~/Desktop/Huge_reservoir$ pyFoamClearBoundaryValue.py left p
Error in /usr/local/bin/pyFoamClearBoundaryValue.py : Either a patch or a value must be specified


gschaider May 6, 2013 19:49

Quote:

Originally Posted by pioneer (Post 425680)
i think you have to specify a case folder for argument or anyone correct me.

I think with the error message and the --help-option it should be pretty clear.

PS: Pioneer. If you're immortality under another name: it seems like you pissed some people really off and if you keep coming back under different names you're risking a permanent ban

gschaider May 7, 2013 16:27

Note to others: this is obviously immortality under a different account

Quote:

Originally Posted by sauzariwuk (Post 425882)
hello.I'm newbie.how can post a UDF code?

Ehsan. Please stop posting your rants here under different names (at least you later removed it). It doesn't help your cause. Use the time that your original account has been disabled to think about your strategy of asking questions. Maybe with less and better researched questions you'll get better answers too. People here are willing to help (and in fact have helped you a lot) but the way you behaved (coming back with questions that could easily have been researched yourself, crossposting ...) gives the impression that you think you're the only one whose time is valuable (have you ever estimated how much time people put into the answers to your questions?) and has been stressing the patience of everyone here.
I would strongly advise you to wait till the original account is enabled again and then you can start asking again (in a reasonable manner). The way you're doing it right now you're risking the account being permanently disabled.


All times are GMT -4. The time now is 06:08.