CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: sega
Forum: OpenFOAM Programming & Development October 21, 2009, 05:53
Replies: 13
Views: 4,588
Posted By sega
Sorry, to quote myself, but I have thought of a...

Sorry, to quote myself, but I have thought of a way of doing the above.
Unfortunately my idea didn't turn out the way it should be, so I'm bothering you again.

To check if a field was...
Forum: OpenFOAM Programming & Development October 20, 2009, 09:44
Replies: 13
Views: 4,588
Posted By sega
Works! Thank you!!! Now, how can I check...

Works! Thank you!!!

Now, how can I check weather the variable is present or not?
Suppose one field (k) is present and was read from file, while the other (nuSgs) is not present and was not read...
Forum: OpenFOAM Programming & Development October 20, 2009, 03:43
Replies: 13
Views: 4,588
Posted By sega
No. But this looks very promising. I will give...

No. But this looks very promising.
I will give it a try in the next days and will get back to you.
Forum: OpenFOAM Programming & Development October 19, 2009, 13:27
Replies: 13
Views: 4,588
Posted By sega
Dear niklas. I had to think about this for a...

Dear niklas.

I had to think about this for a while and tried to use it on my code.
I haven't succeeded so far and will post my questions below.



So I do understand the above and basically...
Forum: OpenFOAM Programming & Development October 13, 2009, 12:12
Replies: 13
Views: 4,588
Posted By sega
I have absolutely no idea. Maybe it will be...

I have absolutely no idea. Maybe it will be nothing at all?!
So what's wrong with my idea:
Read the field if present and perform an operation if the header is ok.

So the problem is that the...
Forum: OpenFOAM Programming & Development October 12, 2009, 09:48
Replies: 13
Views: 4,588
Posted By sega
Hmm. But I don't see how this can be useful for...

Hmm. But I don't see how this can be useful for me.
What do I have to do?! Where is the link to my problem?
Forum: OpenFOAM Programming & Development October 12, 2009, 09:25
Replies: 13
Views: 4,588
Posted By sega
Maybe. I have thought about something like this. ...

Maybe. I have thought about something like this.
But now I'm having a different problem.

How can I read the field itself?
And how can I prevent the tool from crashing if the field file is not...
Forum: OpenFOAM Programming & Development October 12, 2009, 08:49
Replies: 13
Views: 4,588
Posted By sega
Perfoming operation if field is present

Hello World.

I'm trying to make a tool work with a simple condition:
If a field (k) exists perfom an operation, if a different field (nuSgs) exists perform an other operation, if non of these two...
Showing results 1 to 8 of 8

 
Forum Jump

All times are GMT -4. The time now is 17:45.