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 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Bernhard
Forum: OpenFOAM Community Contributions January 9, 2013, 11:07
Replies: 39
Views: 2,960
Posted By Bernhard
Define your f(t) for t in the range 0 to 2. Then...

Define your f(t) for t in the range 0 to 2. Then use f(t%2).

Suppose your function is 0 for 0..1, 2..3, 4..5 and 1 for 1..2, 3..4 and 5..6 etc, then you can do something like...
Forum: OpenFOAM Community Contributions January 9, 2013, 07:08
Replies: 39
Views: 2,960
Posted By Bernhard
You can't. You can use it for a periodic signal. ...

You can't. You can use it for a periodic signal.

Suppose you have a function f(t) denoting a single period of what you want, say, between t=0 and t=p. Also, f(t) itself is not periodic.

Simple...
Forum: OpenFOAM Community Contributions January 8, 2013, 06:52
Replies: 39
Views: 2,960
Posted By Bernhard
Are you talking to me? ;) But, is your...

Are you talking to me? ;)

But, is your question either of the following
1. Did I implement my equation correct?
2. Did I implement the correct equation?

The answer to 1: Does it work? Do you...
Forum: OpenFOAM Community Contributions January 7, 2013, 04:04
Replies: 39
Views: 2,960
Posted By Bernhard
I think this should get you started in learning...

I think this should get you started in learning how to work with modulo operators.
http://en.wikipedia.org/wiki/Modulo
http://en.wikipedia.org/wiki/Modulo_operation

The basic thing you want to...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 12:30.